Results 1 to 4 of 4

Thread: pad?

  1. #1

    pad?

    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

  2. #2
    SDL would be first thing that comes to mind.

  3. #3
    I've read somwhere that I'd need to include whole SDL ( license restriction or sth). ZenGL joystick handling looks promising though

  4. #4
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    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-...ystick-object/
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Comodo SSL