Jump to content


Photo

Sdl Keyboard Input With Openxdk?


  • Please log in to reply
1 reply to this topic

#1 miker00lz

miker00lz

    X-S Enthusiast

  • Members
  • 10 posts

Posted 03 November 2011 - 10:03 PM

hi, all. i've got a bit of an issue here. i've been developing a cross-platform x86 PC emulator for the last year or so, and last night i ported it to a native xbox app using openxdk. with a few little changes i got it running correctly on the xbox except that for some reason USB keyboard input isn't working. i'm trying to use SDL for it, and the keyboard code works just fine on a PC in windows or linux.

in the release notes for openxdk 0.7, it was usb keyboard support was added. can anybody give me some tips on what could be wrong with it? thanks. this is the last hurdle to getting it working 100% on the xbox.

if anybody is interested in this sort of program btw, here's a video showing it running on my console as-is.



#2 miker00lz

miker00lz

    X-S Enthusiast

  • Members
  • 10 posts

Posted 04 November 2011 - 02:37 AM

oh, nevermind. i got it. i was accidentally including the standard SDL/SDL.h for windows rather than the openxdk version of the headers.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users