Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class driver and...
[pub/USBasp.git] / Demos / Device / ClassDriver / Keyboard / Keyboard.c
index 4b295a2..7e58348 100644 (file)
@@ -147,6 +147,8 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn
 \r
        uint8_t UsedKeyCodes = 0;\r
        \r
+       KeyboardReport->Modifier = HID_KEYBOARD_MODIFER_LEFTSHIFT;\r
+       \r
        if (JoyStatus_LCL & JOY_UP)\r
          KeyboardReport->KeyCode[UsedKeyCodes++] = 0x04; // A\r
        else if (JoyStatus_LCL & JOY_DOWN)\r