summaryrefslogtreecommitdiff
path: root/client/ui_modes.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-24 11:42:23 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-24 11:42:23 +0200
commit40f6164ba6187a0160af9fe200bbd1d729e8c03b (patch)
tree84246633f40cb0c5d858168f63a5933d18006db3 /client/ui_modes.c
parent2e537232404bf5123bc92e7218156ec03160c68f (diff)
added TARQ to robot and client
Diffstat (limited to 'client/ui_modes.c')
-rw-r--r--client/ui_modes.c4
1 files changed, 4 insertions, 0 deletions
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);
}