Joystick Plugin

New releases and general discussions.

Post » Thu Jan 01, 2009 5:18 pm

it would be very much appreciated and complement the existing input methods. since i have no clue about the implementation, would that be a realistic expectation to have for the new year :) ?
B
2
S
2
G
4
Posts: 171
Reputation: 1,792

Post » Fri Jan 02, 2009 12:12 pm

It'll probably make it in somewhere before 1.0, though I can't say where.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Fri Jan 02, 2009 4:25 pm

make sure it supports analog control rich (like the extension for mmf), a simple joystick plugin isnt of much use.

and make sure it can detect all axis' of a xbox 360 controller, because theyre one of the most popular PC joysticks/pads wtv, and used by alot of ppl.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Fri Jan 02, 2009 7:33 pm

Just make it use DirectInput (which is probably what Rich will do based on his earlier posts I've read) and it will support everything, including dual analog controllers.

Then I can finally make a dual analog shooter like Gunroar or Geometry Wars.
B
2
S
2
G
4
Posts: 153
Reputation: 1,756

Post » Fri Jan 02, 2009 11:38 pm

xbox 360 has at least 3 analogs for sure, maybe even 4

i know this because theres 1 for each joystick and another for the triggers, but it may have 4.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sat Jan 03, 2009 2:31 am

[quote="QuaziGNRLnose":1j91c73o]i know this because theres 1 for each joystick and another for the triggers, but it may have 4.[/quote:1j91c73o]

then wouldn't it be 4 already because there are 2 triggers?
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Sat Jan 03, 2009 2:39 am

Don't worry. DirectInput is already equipped to handle everything. You don't need to program it for a certain amount of triggers or anything like that. DirectInput supports whatever joystick you plug into the computer, whatever is detected in the Control Panel. If they use DirectInput, it can support pretty much everything, multiple triggers, analog sticks, even things such as force feedback.
B
2
S
2
G
4
Posts: 153
Reputation: 1,756

Post » Sat Jan 03, 2009 3:57 am

I'm not sure, but I think I heard somewhere DirectInput's status is 'on-the-way-out', a bit like Directsound. There's a new XInput API, but it only seems to support Xbox 360 controllers. Still, something to look in to for a joystick plugin.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sat Jan 03, 2009 6:32 pm

triggers are strange
on the xbox 360 controller, in most emulators and joy 2 key wtv it detects the triggers as a single z axis. when you press the right it goes up to positive 100, and when you press down it goes to negative 100.


might just be a lack of input channels on everything ive used tho
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest