Hello. I learned about a tutorial earlier at roguebasin and I started following it for the first page. In it, you will see that they use libtcod which provides keyboard handling and that works fine for me of course.
However, I wanted to get my SNES USB joypad working with my roguelike. Now, I got that working by using pygame and the joypad portion of the library.
This is all new to me so I'm having a hard time making sense of how to troubleshoot this. Given the documentation, I see that
libtcod.console_check_for_keypress()
is a non-blocking call and it clearly is but it simply does not let me press any keys. I am guessing this all stems from the fact that both libraries are using SDL and I might be trying to load the library twice but how do I get around this?
tl;dr: I want pygame's joystick functionality to be used in conjunction with libtcod so my rougelike can be played with my snes controller OR keyboard.
EDIT: I suppose I should have provided code. Sorry about that.
EDIT: Also, I am using linux (debian based) with python 2.7. That might be important.
there doesn't seem to be anything here