Browse Source

removed debug printf's

master
dirkson 6 months ago
parent
commit
b2e8f3bceb
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      kbd.c

+ 1
- 4
kbd.c View File

@@ -167,7 +167,7 @@ void kbd_load_tty(int *f)
long mode = 0;
if(ioctl(*f, KDGETMODE, &mode) < 0) kbd_err("KDGETMODE failed");

printf("%ld %i \n", mode, K_XLATE);
//printf("%ld %i \n", mode, K_XLATE);

if (mode == K_UNICODE)
kbd_err("unicode-mode keyboards currently unimplemented");
@@ -203,10 +203,7 @@ void kbd_init(int *letters, int *fdo, int *fdi, int *ftty, char *str, kbd_chord_
for(i = 0; i < 256; ++i)
{
if (islower(kbd_keysym(*ftty, i)))
{
printf("%i %c \n", i, kbd_keysym(*ftty, i));
letters[kbd_keysym(*ftty, i) - 97] = i;
}
if(ioctl(*fdo, UI_SET_KEYBIT, i) < 0) kbd_err("error setting keyboard");
}



Loading…
Cancel
Save