Add the F12 kernel debugger trigger to usb_hid. Let's hope that it'll get
useful soon so that you can actually do something after entering KDL. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23742 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -432,6 +432,10 @@ interpret_kb_buffer(hid_device_info *device)
|
||||
key = KEY_Break;
|
||||
else if (key == 0xe && modifiers & 1)
|
||||
key = KEY_SysRq;
|
||||
#if HAIKU_TARGET_PLATFORM_HAIKU
|
||||
else if (key == 0x0d) // ToDo: remove again
|
||||
panic("keyboard requested halt.\n");
|
||||
#endif
|
||||
else if (key == 0) {
|
||||
// unmapped key
|
||||
key = 0x200000 + ((uint8*)device->buffer)[i];
|
||||
|
||||
Reference in New Issue
Block a user