4 Topics

Member Avatar for
Member Avatar for woodenduck

Hey all I need some help with Jython. In Python I'm given the easy option to read a file with [CODE]file = open('/dev/input/js0')[/CODE] Then I can put it into a non blocking mode with something similar to [CODE] import os, fcntl file = os.open('/dev/input/js0', os.O_NONBLOCK) [/CODE] But in Jython I'm …

0
217
Member Avatar for ilovec++

Do you use a joystick/gamepad(or whatever else) for gaming purposes? Or do you use the traditional Mouse + Keyboard combo for playing games? My Personal opinion: Mouse + Keyboard. Reasons: 1)The mouse is much more sensitive and flexible, and then again, some games don't support a joystick. 2)I'm still unfamiliar …

Member Avatar for ilovec++
0
919
Member Avatar for jbennet

Ok, in a very simplified version ive got to write a C++ app to interface with a joystick and play various sounds depending on its position - Its a USB joystick and I will have a QT GUI. This app already exists, for Windows/C# . I just need help porting …

Member Avatar for jbennet
0
341
Member Avatar for taylorc8

Hi, I'm trying to use an input device like a joystick as a mouse, and I've got some good behavior for desktop use by polling the state of the device in a loop and doing some work with the values, then using SendInput with some INPUT structures to make the …

0
102

The End.