i have same problem with same sketch on ubuntu 14.04.. while no problem on windows
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to joystick in Ubuntu. https://bugs.launchpad.net/bugs/118384 Title: Two-gamepads-in-one are treated like one gamepad Status in joystick package in Ubuntu: Invalid Bug description: I have two joysticks that share the same usb plug (I'm not using a usb hub) and the system show only one joystick: /dev/input/js0. This joystick is controlled by any of the two joysticks. After investigation it appeared that it takes input from each joystick one-at-a-frame. E.g. if you press start on joystick1 and select on joystick2 it will input start-select-start-select... I know this sound confusing, but they work as two under Windows. Please help! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/joystick/+bug/118384/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp