joystick

Compiling xboxdrv on openSUSE 11.2

I'm trying to use an xbox360 controller as a joystick in openSUSE 11.2. When attempting to compile xboxdrv (http://pingus.seul.org/~grumbel/xboxdrv/) I get the following errors: g++ -o src/xbox_controller.o -c -g -O2 -Wall -ansi -pedantic src/xbox_controller.cpp In file included from src/xbox_controller.hpp:23, from src...

Is there a Delphi 'joystick' control?

I'd like to align an object in X and Y by eye using the mouse to move it into position. I can roll a solution by using various spin controls (or buttons) but it's messy and I got to wondering whether there is a control - like a joystick - that provides 2-axis control using the mouse and fires events at rates which vary depending on its p...

C# Joystick Detection Error

I'm trying to create an application in C# that uses a joystick. I went to "http://www.codeproject.com/KB/directx/joystick.aspx" and basically copied the example exactly but I keep getting the follow error: "is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)". The application is currently a console app for testing pu...

How can I read out Joystick values in Objective-C under OS X Snow Leopard?

Hello, I'm trying to interface with Joysticks in Objective-C, basically I want to read out the analog position values. I'm new to objective-c, and even though I searched a lot, I didn't find a way to do this. There seems to be a way using GLUT, but the solution should work even without a window open, and I also wasn't able to understan...

How is joystick axis information formatted from a USB Joystick?

I actually just have a rather small question, but I have had the HARDEST time finding information about it. For the application I am programming for, there will be a 3-axis joystick being connected via USB to a Windows XP computer, and it is being handled by directx. That information will then be sent elsewhere to an embedded controlle...

Correlating traditional Windows joystick axes with HID

I'm a bit confused on the description of joystick axes and I'm hoping that someone has a link or document which could help clear my confusion. I'm not a Windows guy, so trying to port some traditional Windows gameport code has me a bit confused. We all know about the common first three axes: X Y Z My understanding was that in the game...

SDLJava joystick events in a thread

I have a class which uses SDLJava to process events from multiple joysticks. When I put a 'main' in the class and run the file, all the joysticks are correctly detected and all events at received and processed in the class. When I add a 'run' method (which does the same as 'main') and run the class as a thread, all joysticks are detect...

Roll My Own Windows Joystick HID Driver?

I have a USB Joystick, and I want to write my own HID driver for it. Notably I want to inject delay between when the joystick input is received by Windows and when my application is notified of that input event. I would also like to change the identity of the joystick percieved by my application. I have never written a driver, let alone ...

DirectX DirectInput won't detect connected devices

I'm trying to use a joystick in my C# WPF application using directX (using Microsoft.DirectX.DirectInput;), but for some odd reason I keep getting an error in the first line where I try to detect all the connected devices. All I have in my application so far is the following line of code in the contructor: DeviceList gameControllerList...

Dealing with simultaneous button presses and changing shift states

I am currently working on a (Python2.5) application which handles input from a game controller. We've designated a button as a shift button to change the mapping (inputtype,value->function) of the other buttons on the fly. The mapping also depends on the mode our application is running in. We are running into lots of hairy edge cases (e....

Simulate a virtual joystick using accellerometer data

Reading acceleromenter data is quite easy on the Iphone but using them effectively to simulate a virtual joystick is a different story. I see that accelerometer data are quite noisy and the average module of each axis accelleration in a rest position is not comparable. I wonder if the most effective way to use accelleromenter is to look ...

Taking input from a joystick with C# .NET

I searched around on Google for this, but the only things I came up with were outdated and did not work. Does anyone have any information on how to get joystick data using C# .NET? ...