mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Removed beep-on-keypress
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1979 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e67958ba86
commit
354d3d9527
1 changed files with 0 additions and 2 deletions
|
|
@ -197,8 +197,6 @@ int screenhack_handle_event (Display *dpy, XEvent *event)
|
||||||
KeySym keysym;
|
KeySym keysym;
|
||||||
unsigned char c = 0;
|
unsigned char c = 0;
|
||||||
XLookupString (&event->xkey, &c, 1, &keysym, 0);
|
XLookupString (&event->xkey, &c, 1, &keysym, 0);
|
||||||
if (! (keysym >= XK_Shift_L && keysym <= XK_Hyper_R))
|
|
||||||
XBell (dpy, 0); /* beep for non-chord keys */
|
|
||||||
key = keysym;
|
key = keysym;
|
||||||
/* fprintf(stderr, "KEY PRESSED: %c (%02x)\n", c, c); */
|
/* fprintf(stderr, "KEY PRESSED: %c (%02x)\n", c, c); */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue