Stephen Downward 1 year ago
parent
commit
a2d0b48397
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/keyboard.c

+ 1 - 1
drivers/keyboard.c

@ -47,7 +47,7 @@ static void keyboard_callback(registers_t regs) {
47 47
		else
48 48
		{
49 49
            char letter = sc_ascii[(int)scancode];
50
			if (letter > 65 && letter < 90) {
50
			if (letter >= 65 && letter <= 90) {
51 51
				letter += 32 * !uppercase; //Remove 32 from letter(make it lower case) if uppercase is false
52 52
				special = 0;
53 53
            }