Modification combinaison de touche

This commit is contained in:
Snorky 2024-02-16 23:29:54 +01:00
parent 5946f3951a
commit 6f0a9ff0ac
2 changed files with 11 additions and 5 deletions

View File

@ -132,7 +132,7 @@ static const uint16_t hid_asciimap[] = {
HID_KEYBOARD_FR_CHAPEAU, // ^ HID_KEYBOARD_FR_CHAPEAU, // ^
HID_KEYBOARD_FR_UNDERSCORE, // _ HID_KEYBOARD_FR_UNDERSCORE, // _
HID_KEYBOARD_FR_BACK_QUOTE | KEY_MOD_RIGHT_ALT, // ` HID_KEYBOARD_FR_BACK_QUOTE | KEY_MOD_RIGHT_ALT, // `
HID_KEYBOARD_A, // a HID_KEYBOARD_FR_A, // a
HID_KEYBOARD_B, // b HID_KEYBOARD_B, // b
HID_KEYBOARD_C, // c HID_KEYBOARD_C, // c
HID_KEYBOARD_D, // d HID_KEYBOARD_D, // d
@ -144,20 +144,20 @@ static const uint16_t hid_asciimap[] = {
HID_KEYBOARD_J, // j HID_KEYBOARD_J, // j
HID_KEYBOARD_K, // k HID_KEYBOARD_K, // k
HID_KEYBOARD_L, // l HID_KEYBOARD_L, // l
HID_KEYBOARD_M, // m HID_KEYBOARD_FR_M, // m
HID_KEYBOARD_N, // n HID_KEYBOARD_N, // n
HID_KEYBOARD_O, // o HID_KEYBOARD_O, // o
HID_KEYBOARD_P, // p HID_KEYBOARD_P, // p
HID_KEYBOARD_Q, // q HID_KEYBOARD_FR_Q, // q
HID_KEYBOARD_R, // r HID_KEYBOARD_R, // r
HID_KEYBOARD_S, // s HID_KEYBOARD_S, // s
HID_KEYBOARD_T, // t HID_KEYBOARD_T, // t
HID_KEYBOARD_U, // u HID_KEYBOARD_U, // u
HID_KEYBOARD_V, // v HID_KEYBOARD_V, // v
HID_KEYBOARD_W, // w HID_KEYBOARD_FR_W, // w
HID_KEYBOARD_X, // x HID_KEYBOARD_X, // x
HID_KEYBOARD_Y, // y HID_KEYBOARD_Y, // y
HID_KEYBOARD_Z, // z HID_KEYBOARD_FR_Z, // z
HID_KEYBOARD_FR_CRO_OUVRANT | KEY_MOD_RIGHT_ALT, // { HID_KEYBOARD_FR_CRO_OUVRANT | KEY_MOD_RIGHT_ALT, // {
HID_KEYBOARD_FR_PIPE | KEY_MOD_RIGHT_ALT, // | HID_KEYBOARD_FR_PIPE | KEY_MOD_RIGHT_ALT, // |
HID_KEYBOARD_FR_CRO_FERMANT | KEY_MOD_RIGHT_ALT, // } HID_KEYBOARD_FR_CRO_FERMANT | KEY_MOD_RIGHT_ALT, // }

View File

@ -240,6 +240,12 @@
#define HID_KEYBOARD_R_ALT 0xE6 #define HID_KEYBOARD_R_ALT 0xE6
#define HID_KEYBOARD_R_GUI 0xE7 #define HID_KEYBOARD_R_GUI 0xE7
/* *
* Ajout Snorky (16/02/2024)
* Rajout des define pour un layout Azerty.
*
* */
#define HID_KEYBOARD_FR_EXCLAMATION 0x38 #define HID_KEYBOARD_FR_EXCLAMATION 0x38
#define HID_KEYBOARD_FR_AROBASE 0x27 #define HID_KEYBOARD_FR_AROBASE 0x27
#define HID_KEYBOARD_FR_DIESE 0x20 #define HID_KEYBOARD_FR_DIESE 0x20