diff --git a/src/devices/hid_keyboard.c b/src/devices/hid_keyboard.c index 664c502..6f6eef8 100644 --- a/src/devices/hid_keyboard.c +++ b/src/devices/hid_keyboard.c @@ -304,6 +304,10 @@ void process_hid_keyboard(uint8_t dev_addr, uint8_t instance, uint8_t const* hid if (report->keycode[i] == HID_KEY_U || report->keycode[i] == HID_KEY_PAGE_UP) btns_five = true; // L if (report->keycode[i] == HID_KEY_I || report->keycode[i] == HID_KEY_PAGE_DOWN) btns_six = true; // R +#ifdef CONFIG_NGC + // light shield + if (report->keycode[i] == HID_KEY_O) analog_r = 127; // R at 50% +#endif // HAT SWITCH switch (report->keycode[i]) {