From 6f0a9ff0ac26e2a3d7fa2cfece2ad3866c9ebedc Mon Sep 17 00:00:00 2001 From: Snorky Date: Fri, 16 Feb 2024 23:29:54 +0100 Subject: [PATCH] Modification combinaison de touche --- furi_hal_usb_hid.h | 10 +++++----- hid_usage_keyboard.h | 6 ++++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/furi_hal_usb_hid.h b/furi_hal_usb_hid.h index 0f6291c..7d47411 100644 --- a/furi_hal_usb_hid.h +++ b/furi_hal_usb_hid.h @@ -132,7 +132,7 @@ static const uint16_t hid_asciimap[] = { HID_KEYBOARD_FR_CHAPEAU, // ^ HID_KEYBOARD_FR_UNDERSCORE, // _ HID_KEYBOARD_FR_BACK_QUOTE | KEY_MOD_RIGHT_ALT, // ` - HID_KEYBOARD_A, // a + HID_KEYBOARD_FR_A, // a HID_KEYBOARD_B, // b HID_KEYBOARD_C, // c HID_KEYBOARD_D, // d @@ -144,20 +144,20 @@ static const uint16_t hid_asciimap[] = { HID_KEYBOARD_J, // j HID_KEYBOARD_K, // k HID_KEYBOARD_L, // l - HID_KEYBOARD_M, // m + HID_KEYBOARD_FR_M, // m HID_KEYBOARD_N, // n HID_KEYBOARD_O, // o HID_KEYBOARD_P, // p - HID_KEYBOARD_Q, // q + HID_KEYBOARD_FR_Q, // q HID_KEYBOARD_R, // r HID_KEYBOARD_S, // s HID_KEYBOARD_T, // t HID_KEYBOARD_U, // u HID_KEYBOARD_V, // v - HID_KEYBOARD_W, // w + HID_KEYBOARD_FR_W, // w HID_KEYBOARD_X, // x 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_PIPE | KEY_MOD_RIGHT_ALT, // | HID_KEYBOARD_FR_CRO_FERMANT | KEY_MOD_RIGHT_ALT, // } diff --git a/hid_usage_keyboard.h b/hid_usage_keyboard.h index 3a3d6b5..c25de5d 100644 --- a/hid_usage_keyboard.h +++ b/hid_usage_keyboard.h @@ -240,6 +240,12 @@ #define HID_KEYBOARD_R_ALT 0xE6 #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_AROBASE 0x27 #define HID_KEYBOARD_FR_DIESE 0x20