I'm making this joystick/buttons:
*http://www.raphnet.net/electronique/usb_game12/index_en.php
The difficult part works, the USB is recognized and connected (I checked lsusb and /var/log/syslog). Then I connect a button between a portb pin and ground, but nothing happens. I suppose that if I have an editor text some chars are printed. Isn't it?
thanks a lot
device connected, buttons doesn't work
Re: device connected, buttons doesn't work
If it shows up I can't thing of anything that would be wrong. I assume you are testing with a controller app and it sees the device? Did you test port c pins?
Re: device connected, buttons doesn't work
I answer myself, it's my misunderstanding. I supposed the gamepad behaves like a keyboard, but i see that it's a different device. I followed this link:
http://ubuntuforums.org/showthread.php?t=1716707
and checked jscal -c /dev/input/js0
I'm making a pimame arcade cabinet. My misunderstanding is because gamepads are mapped with several characters and arrows, so I expected some chars in a text editor...
http://ubuntuforums.org/showthread.php?t=1716707
and checked jscal -c /dev/input/js0
I'm making a pimame arcade cabinet. My misunderstanding is because gamepads are mapped with several characters and arrows, so I expected some chars in a text editor...
Re: device connected, buttons doesn't work
yes.. easy mistake.