Unrecognized keyboard keys

Hi,

I’m porting an app to SDL 2 and am running the version "SDL2-2.0.0.tar.gz"
downloaded from http://www.libsdl.org/tmp/release/. The sha256sum is
87a7…acbd. My desktop environment is Gnome.

I own this keyboard:
http://www.i-rocksusa.com/products/KR-6402-WH.html
The model I have is slightly different from the one pictured at that link,
in that the following two keys are marked differently.

When I press the key above Backspace, in between F12 and Print Screen,
which is labeled with a single eighth note, I get this message:
“The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 179
(171), X11 KeySym 0x1008FF81 (XF86Tools).”

When I press the key above keypad asterisk, in between the keys marked with
"search" and “mail” icons, which is labeled with a large five-pointed star,
I get this message:
“The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 164
(156), X11 KeySym 0x1008FF30 (XF86Tools).”

Brian

Can you add #define DEBUG_KEYBOARD at the top of the file in
SDL_x11keyboard.c and let us know what keyboard scancode set it is?

I don’t recognize those keys either. What are those keys called? Can you
find a matching SDL scancode? Have you tried the keyboard with SDL on
Windows? If so, what does it think those keys are?

Thanks for the report!On Fri, Jul 26, 2013 at 7:48 AM, Brian Johnson wrote:

Hi,

I’m porting an app to SDL 2 and am running the version "SDL2-2.0.0.tar.gz"
downloaded from http://www.libsdl.org/tmp/release/. The sha256sum is
87a7…acbd. My desktop environment is Gnome.

I own this keyboard:
http://www.i-rocksusa.com/products/KR-6402-WH.html
The model I have is slightly different from the one pictured at that link,
in that the following two keys are marked differently.

When I press the key above Backspace, in between F12 and Print Screen,
which is labeled with a single eighth note, I get this message:
“The key you just pressed is not recognized by SDL. To help get this
fixed, please report this to the SDL mailing list X11
KeyCode 179 (171), X11 KeySym 0x1008FF81 (XF86Tools).”

When I press the key above keypad asterisk, in between the keys marked
with “search” and “mail” icons, which is labeled with a large five-pointed
star, I get this message:
“The key you just pressed is not recognized by SDL. To help get this
fixed, please report this to the SDL mailing list X11
KeyCode 164 (156), X11 KeySym 0x1008FF30 (XF86Tools).”

Brian


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Okay, I was able to track these down and fix them. The first one will be
F13, and the second will be AC_BOOKMARKS.

Thanks!On Sat, Jul 27, 2013 at 1:56 AM, Sam Lantinga <@slouken> wrote:

Can you add #define DEBUG_KEYBOARD at the top of the file in
SDL_x11keyboard.c and let us know what keyboard scancode set it is?

I don’t recognize those keys either. What are those keys called? Can you
find a matching SDL scancode? Have you tried the keyboard with SDL on
Windows? If so, what does it think those keys are?

Thanks for the report!

On Fri, Jul 26, 2013 at 7:48 AM, Brian Johnson wrote:

Hi,

I’m porting an app to SDL 2 and am running the version
"SDL2-2.0.0.tar.gz" downloaded from http://www.libsdl.org/tmp/release/.
The sha256sum is 87a7…acbd. My desktop environment is Gnome.

I own this keyboard:
http://www.i-rocksusa.com/products/KR-6402-WH.html
The model I have is slightly different from the one pictured at that
link, in that the following two keys are marked differently.

When I press the key above Backspace, in between F12 and Print Screen,
which is labeled with a single eighth note, I get this message:
“The key you just pressed is not recognized by SDL. To help get this
fixed, please report this to the SDL mailing list X11
KeyCode 179 (171), X11 KeySym 0x1008FF81 (XF86Tools).”

When I press the key above keypad asterisk, in between the keys marked
with “search” and “mail” icons, which is labeled with a large five-pointed
star, I get this message:
“The key you just pressed is not recognized by SDL. To help get this
fixed, please report this to the SDL mailing list X11
KeyCode 164 (156), X11 KeySym 0x1008FF30 (XF86Tools).”

Brian


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org