From: Ebbesen S. <seb...@id...> - 2015-12-10 14:01:03
|
I have connected a DIY game controller to my Raspberry Pi. I would like to navigate a dialog with the output of the game controller rather than a normal keyboard. I've created a Python script that can read the output of the game controller and store it in a variable, so that part is working. I just need to fix something somewhere to change from the keyboard to my own custom variable which is triggered by the controller. Can this be done? I looked through Dialog.py but I didn't see anything about keyboard events. Maybe the right place to fix this is not even in pythondialog but rather in the underlying dialog utility? I've actually made it work using pygame and ncurses directly but I would like to take advantage of the features of pythondialog to build a proper dialog. Your input is appreciated! /soren |