masatomo kojima / microbit_switch_if_joy

Dependencies:   microbit

Revision:
9:4a977a37097a
Parent:
6:bd39b12d4ac8
diff -r c7c6f20c767f -r 4a977a37097a microbit_switch_if_3sw.h
--- a/microbit_switch_if_3sw.h	Fri Feb 15 02:40:34 2019 +0000
+++ b/microbit_switch_if_3sw.h	Fri Feb 15 02:54:37 2019 +0000
@@ -33,8 +33,8 @@
 #define MODIFY_COMMAND  0x800  /* command or Windows */
 
 const int keyCodeGroup0[3] = {   // Button A, Button B, Button A&B
-   RIGHT_ARROW, 
-   LEFT_ARROW, 
+   'A', 
+   'B', 
    MODIFY_COMMAND + 'h'       // アプリ終了
 };
 const int keyCodeGroup1[NUM_GROUP1][2] = { // Switch 1 2