It is currently Sun Sep 22, 2019 7:01 pm



Reply to topic  [ 2 posts ] 
 Generic joystick plugin 
Author Message
Petrif-Eyed

Joined: Mon Jun 22, 2009 8:36 am
Posts: 2160
Location: Stockholm, Sweden
Reply with quote
I pushed a Generic joystick plugin to Github. It should work with all DX joysticks and gamepads and wheels out there

Btw, the code you are using brantlew uses the SlimDX.XInput namepace which is a xbox360 controller namespace, so that code will never work with a generic DX device.. So you can keep it as it is, though think about supporting multile devices conneted

_________________
FreePIE
My blog


Tue Aug 28, 2012 12:39 pm
Profile
Petrif-Eyed

Joined: Mon Jun 22, 2009 8:36 am
Posts: 2160
Location: Stockholm, Sweden
Reply with quote
Another sleepless and fruitless night, I tried to get SlimDX to create forcefeedback effects and send them to the gamepad (Good if you want to create a VR gun or a rumblepack for your chest and back when you get shot).

But I failed to get it to work, and there is virtually no working examples or code out there, there is some old managed DX code on the net, but the forcefeedback part of SlimDX is pretty far away from the old syntax in Managed DX.

If someone wants to give it a go a good start is probably here (Managed DX code, ugly written but better than nothing)
http://www.codeproject.com/Articles/244 ... ed-DirectX

Some SlimDX code, nothing that works though
http://www.gamedev.net/topic/551346-sol ... -question/

A forcefeedback tool written in SlimDX which doesn't work either
http://www.lfsforum.net/showthread.php?t=76818

_________________
FreePIE
My blog


Wed Aug 29, 2012 12:44 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.