PDA

View Full Version : pad?



laggyluk
15-10-2013, 09:45 AM
I'd like to add support for joy pad controller, any suggestions what lib to use? It's a x360 type.
I've checked glscene but it's joystick unit doesn't support linux

User137
15-10-2013, 02:04 PM
SDL would be first thing that comes to mind.

laggyluk
16-10-2013, 06:31 AM
I've read somwhere that I'd need to include whole SDL ( license restriction or sth). ZenGL joystick handling looks promising though

phibermon
16-10-2013, 03:45 PM
You can interface with the Linux joystick API directly, it's really very simple. Here's a page that demonstrates how (in C++) :

http://www.keithlantz.net/2011/10/a-linux-c-joystick-object/