Made the current debug stuff in our two keyboard drivers (one is used
by consoled by default, the other is used by the input_server) more consistent: Now, F12 will get you into the kernel debugger. The escape key was somehow not too happy with vim before :)) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b31c89d6e3
commit
597c7235b9
@ -197,7 +197,7 @@ handle_keyboard_interrupt(void *data)
|
||||
* useful, and SYS_REQ does a screen dump in BeOS).
|
||||
* ToDo: remove these key functions some day...
|
||||
*/
|
||||
case ESCAPE:
|
||||
case F12:
|
||||
case SYS_REQ:
|
||||
panic("Keyboard Requested Halt\n");
|
||||
break;
|
||||
@ -206,9 +206,6 @@ handle_keyboard_interrupt(void *data)
|
||||
dbg_set_serial_debug(dbg_get_serial_debug() ? false : true);
|
||||
break;
|
||||
#endif
|
||||
case F12:
|
||||
shutdown(true);
|
||||
break;
|
||||
|
||||
case HOME:
|
||||
case END:
|
||||
|
@ -80,6 +80,12 @@ handle_keyboard_interrupt(void *data)
|
||||
scancode = read;
|
||||
|
||||
TRACE(("scancode: %x\n", scancode));
|
||||
|
||||
// For now, F12 enters the kernel debugger
|
||||
// ToDo: remove me later :-)
|
||||
if (scancode == 88)
|
||||
panic("keyboard requested halt.\n");
|
||||
|
||||
if (scancode & 0x80) {
|
||||
keyInfo.is_keydown = false;
|
||||
scancode -= 0x80;
|
||||
|
Loading…
x
Reference in New Issue
Block a user