- Timestamp:
- Sep 27, 2023 3:51:21 PM (16 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r101281 r101298 746 746 VBOX_WITH_LIBTPMS = 1 747 747 endif 748 # Disable keyboard HID Consumer/Desktop control keys passthrough 749 # VBOX_WITHOUT_KEYBOARD_HID_CC_DC_PASSTHROUGH = 1 748 750 ## @} 749 751 -
trunk/src/VBox/Devices/Input/DrvKeyboardQueue.cpp
r99739 r101298 125 125 /* Keyboard usage page (07h). */ 126 126 #define KB(key) (RT_MAKE_U32(0, USB_HID_KB_PAGE) | (uint16_t)key) 127 /* Consumer Control usage page (0Ch). */ 128 #define CC(key) (RT_MAKE_U32(0, USB_HID_CC_PAGE) | (uint16_t)key) 129 /* Generic Desktop Control usage page (01h). */ 130 #define DC(key) (RT_MAKE_U32(0, USB_HID_DC_PAGE) | (uint16_t)key) 131 /* Untranslated/unised, shouldn't be encountered. */ 127 128 #ifndef VBOX_DISABLE_HID_CC_DC_PASSTHROUGH 129 /* Consumer Control usage page (0Ch). */ 130 #define CC(key) (RT_MAKE_U32(0, USB_HID_CC_PAGE) | (uint16_t)key) 131 /* Generic Desktop Control usage page (01h). */ 132 #define DC(key) (RT_MAKE_U32(0, USB_HID_DC_PAGE) | (uint16_t)key) 133 #else 134 /* Do not pass through Consumer/Generic Desktop Control usage page. */ 135 #define CC(key) 0 136 #define DC(key) 0 137 #endif 138 139 /* Untranslated/unused, shouldn't be encountered. */ 132 140 #define XX(key) 0 133 141 -
trunk/src/VBox/Devices/Makefile.kmk
r100495 r101298 528 528 endif 529 529 530 ifdef VBOX_WITHOUT_KEYBOARD_HID_CC_DC_PASSTHROUGH 531 VBoxDD_DEFS += VBOX_DISABLE_HID_CC_DC_PASSTHROUGH 532 endif # VBOX_WITHOUT_KEYBOARD_HID_CC_DC_PASSTHROUGH 533 530 534 # --- Networking bits. --- 531 535
Note:
See TracChangeset
for help on using the changeset viewer.