mirror of
https://github.com/reactos/reactos.git
synced 2025-08-08 22:03:25 +00:00
[HIDPARSER]
- A key break code indicator is 0x80, not 0x1 [USBCCGP] - Silence debug print [KBDHID] - Implement IOCTL_KEYBOARD_QUERY_INDICATORS, IOCTL_KEYBOARD_SET_INDICATORS - Partly implement dispatching to kbdclass - Kbdclass now receives keys from kbdhid. Not yet fully working - Tested in XP+ ReactOS USB Stack + ReactOS HID stack + USB Composite Device Keyboard svn path=/branches/usb-bringup-trunk/; revision=55368
This commit is contained in:
parent
5ab8673f32
commit
704bae2492
4 changed files with 61 additions and 14 deletions
|
@ -663,9 +663,9 @@ HidParser_DispatchKey(
|
|||
if (KeyAction == HidP_Keyboard_Break)
|
||||
{
|
||||
//
|
||||
// add break
|
||||
// add break - see USB HID to PS/2 Scan Code Translation Table
|
||||
//
|
||||
ScanCodes[Index] |= KEY_BREAK;
|
||||
ScanCodes[Index] |= 0x80;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -711,7 +711,6 @@ HidParser_TranslateUsage(
|
|||
//
|
||||
// FIXME: translate modifier states
|
||||
//
|
||||
DPRINT1("Usage %x ScanCode %x\n", Usage, ScanCode);
|
||||
HidParser_DispatchKey((PCHAR)&ScanCode, KeyAction, InsertCodesProcedure, InsertCodesContext);
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue