flat assembler
Message board for the users of flat assembler.

Index > Windows > Detect DirectInput - Can someone help me get started on this

Author
Thread Post new topic Reply to topic
avidichard



Joined: 22 Mar 2021
Posts: 22
Location: Quebec/Canada
avidichard 22 Mar 2021, 17:24
I would like to be able to detect DirectInput from a controller from which Windows does not even detect buttons. It's a Bluetooth controller, Windows detects it and accepts it as a controller, but it just does not do anything. Steam actually has a way to recieve the input from this controller but I want to do that on my own without depending on Steam.

I need a small start to know how to detect DirectInput.

I also tried x360ce. But there again, it does not detect any input. The controller is detected but not responding, so, I want to make my own DirectInput to XInput without all of the huge configurations and options.
Post 22 Mar 2021, 17:24
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4073
Location: vpcmpistri
bitRAKE 23 Mar 2021, 15:12
It looks more complicated than I thought ( I did a little searching out of curiosity ). Seems like there is a service to translate the bluetooth to a HID like device.

This method looks to be more direct:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/bad452cb-4fc2-4a86-9b60-070b43577cc9/is-there-a-simple-example-desktop-programming-c-for-bluetooth-low-energy-devices?forum=wdk
Post 23 Mar 2021, 15:12
View user's profile Send private message Visit poster's website Reply with quote
avidichard



Joined: 22 Mar 2021
Posts: 22
Location: Quebec/Canada
avidichard 23 Mar 2021, 20:23
Hmmm...I'm getting out of my old programming habits and I forgot that LOL. I know ASM will make you do everything manually, I just did not happen to think about the Bluetooth connectivity, that's dumb of me. I was thinking about simply using a DLL call from windows or something like that and simply do an import of prewritten calls. Well then, I will dig deeper, as usual. Thanks for your help and link.
Post 23 Mar 2021, 20:23
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.