Usb Keyboard, Open2X And Sdl


sixtyfifthbit

Member
Joined
Aug 24, 2007
Messages
168
I'm trying to get USB keyboard input using SDL, but I can't seem to get it working. I have both the Video and the Joystick subsystem active, and I've tried Unicode both enabled and disabled. I've even tried different keyboards - nothing seems to generate keyboard events. Joystick events still occur. I can get Termula2X to accept keypresses, but the author sadly doesn't release his code. Can anyone think of what I'm missing? Or better yet, point me to code that works?
 
atari_eric said:
I'm trying to get USB keyboard input using SDL, but I can't seem to get it working. I have both the Video and the Joystick subsystem active, and I've tried Unicode both enabled and disabled. I've even tried different keyboards - nothing seems to generate keyboard events. Joystick events still occur. I can get Termula2X to accept keypresses, but the author sadly doesn't release his code. Can anyone think of what I'm missing? Or better yet, point me to code that works?

I added USB Keyboard support to Paeryn's hardware SDL and put a link to it in his thread. He sort of drifted away from the scene so his site never got updated with the new stuff.

Link to SDL library containing new USB keyboard code: http://www.mediafire.com/?imeznyhnm59

Link to Thread: http://www.gp32x.de/board/index.php?/topic/23819-hw-accelerated-sdl/page__view__findpost__p__693058
 
Last edited by a moderator:
Senor Quack said:
I added USB Keyboard support to Paeryn's hardware SDL and put a link to it in his thread. He sort of drifted away from the scene so his site never got updated with the new stuff.

Link to SDL library containing new USB keyboard code: http://www.mediafire.com/?imeznyhnm59

Link to Thread: http://www.gp32x.de/board/index.php?/topic/23819-hw-accelerated-sdl/page__view__findpost__p__693058

Yeah, I found out late last night that I was linking against 1.2.9 instead of .11 - whoopsy. Thanks for the links and the confirmation.
 
Last edited by a moderator:
Back
Top