Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: microbit_switch_if_3sw.h
- 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