Skip to content

Commit

Permalink
Ps2/Kbd
Browse files Browse the repository at this point in the history
  • Loading branch information
amanuel2 committed Dec 9, 2016
1 parent 0c1a878 commit 931f45e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/i386/drv/ps2/kbd/kbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ void key_release(uint8_t scancode)
{
if (kbd_layouts[kbd_info.current_kbd_layout]->scancode_no_shift[scancode] == KBD_QWERTY_LEFT_SHIFT_PRESS ||
kbd_layouts[kbd_info.current_kbd_layout]->scancode_no_shift[scancode] == KBD_QWERTY_RIGHT_SHIFT_PRESS)
{
printk("SHIFT RELEASE");
kbd_info.is_shift = false;
}
}

/*
Expand Down Expand Up @@ -160,7 +163,7 @@ void key_handler()
{
case KBD_QWERTY_LEFT_SHIFT_PRESS:
case KBD_QWERTY_RIGHT_SHIFT_PRESS:
printk("SHIFT");
printk("SHIFT PRESS");
kbd_info.is_shift = true;
break;
case KBD_QWERTY_CAPS_PRESS:
Expand Down

0 comments on commit 931f45e

Please sign in to comment.