Diddyborg and ps3 controller issue
Forums:
Hi
I am trying to get diddy to work with a ps3 controller, but have had no luck, the controller is paired via bluetooth, and i have tried running both ps3DiddyJoy and runDiddyJoy neither work.
ps3DiddyJoy gives me a sixad error, i followed instructions in another thread that said to use runDiddyJoy instead, but that gave me a pyjama error. I have removed the # as suggested in the thread but now get
Traceback (most recent call last):
File "/home/pi/diddyborg/diddyJoy.py", line 67, in
pygame.display.set_mode((1,1))
pygame.error: Unable to open a console terminal
Any ideas how to fix this
cheers
piborg
Sat, 03/11/2017 - 11:18
Permalink
Pygame errors
If you put the
#
symbol back in at the front of theset_mode
line what error do you get?popeyesfx
Sat, 03/11/2017 - 22:40
Permalink
I get
I get
Traceback (most recent call last):
File "/home/pi/diddyborg/diddyJoy.py", line 109, in
events = pygame.event.get()
pygame.error: video system not initialised
so i put it back and ran the file as sudo and it worked
piborg
Mon, 03/13/2017 - 10:42
Permalink
Glad to hear you managed to get it working
I am glad to hear you got it working :)
I will make a note that the
pygame.error: Unable to open a console terminal
error can be solved by running the script withsudo
in case anyone else has the same issue.