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_joy.h
- Revision:
- 18:0940af085381
- Parent:
- 14:469243e10ce5
--- a/microbit_switch_if_joy.h Tue Mar 19 20:40:31 2019 +0000
+++ b/microbit_switch_if_joy.h Sat Mar 30 00:08:42 2019 +0000
@@ -69,7 +69,7 @@
//----------------------
// Setting
//----------------------
-#define NUM_GROUP1 4
+#define NUM_GROUP1 5
#define NUM_G1MEMBER 5
@@ -80,10 +80,11 @@
MODIFY_COMMAND + 'h' // アプリ終了
};
const int keyCodeGroup1[NUM_GROUP1][NUM_G1MEMBER] = { // 中央 左 右 上 下
- {KEY_ENTER, KEY_TAB, KEY_SPACE, 0, KEY_ENTER },
+ {0, KEY_TAB, KEY_SPACE, 0, KEY_ENTER },
{KEY_HOME, RIGHT_ARROW, LEFT_ARROW, DOWN_ARROW, UP_ARROW },
{KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5},
{MODIFY_COMMAND+'r', 0, 0, MODIFY_OPTION+DOWN_ARROW, MODIFY_OPTION+UP_ARROW},
+ {KEY_ENTER, KEY_TAB, KEY_SPACE, 0, 0 },
};
//in "BLE_HID\Keyboad_types.h"