A
A
ainu2010-10-30 15:02:35
C++ / C#
ainu, 2010-10-30 15:02:35

Joystick emulation in Windows (C#, VB or something else)

I have a gaming device for Linux (gp2x caanoo, something like PSP), connected to the same network with a computer, I can write a C program for it using the network, the device has an accelerometer (like iPhones, android backgrounds and etc).
The goal is to make a virtual Wi-fi joystick, you turn the device - the tilt of the joystick axis is emulated on the computer. There are already such systems for all sorts of androids and iPhones, they make a virtual steering wheel out of the phone for all kinds of races.
I can write the part that will spin on the device, take the slope values ​​​​and send it over the network with sockets, but I could not cope with the part that is on the computer. Of the desktop languages, I know a little C # and VB.NET, VB 6.0, I can call Winapi on php (this is completely abnormal programming, but still).
Accordingly, the question is where to dig in order to learn how to emulate a virtual joystick, preferably in C #?
I saw a library in c #, but it emulates a mouse + keyboard, but the situation is usually not consecrated with a joystick, in MSDN how to use an existing joystick, and not how to make a virtual one.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zamirka, 2010-10-30
@zamirka

Maybe the XNA Framework (http://ru.wikipedia.org/wiki/Microsoft_XNA), I find it difficult to say for sure, I haven’t come across it myself, but I read about such a thing

N
Nikolai Vasilchuk, 2010-11-01
@Anonym

Google for projects like PPJoy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question