From 40f6164ba6187a0160af9fe200bbd1d729e8c03b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 24 Jun 2022 11:42:23 +0200 Subject: added TARQ to robot and client --- client/ui_modes.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/ui_modes.c') diff --git a/client/ui_modes.c b/client/ui_modes.c index 3048ba9..bb34d3c 100644 --- a/client/ui_modes.c +++ b/client/ui_modes.c @@ -10,6 +10,10 @@ void w2_ui_onkey_modes(int ch) { if (ch == '5') w2_send_mode(W2_M_SPIN); if (ch == '6') w2_send_mode(W2_M_SCAL); + if (ch == '7') w2_send_tarq(W2_AREA_MAZE); + if (ch == '8') w2_send_tarq(W2_AREA_GRID); + if (ch == '9') w2_send_tarq(W2_AREA_CHRG); + if (ch == '0') w2_send_mode(W2_M_PREV); } -- cgit v1.2.3