Jump to content



Photo
- - - - -

add XINPUT to Pinscape

XINPUT

  • Please log in to reply
25 replies to this topic

#21 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,601 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 14 January 2019 - 10:29 AM

So, I've read what feels like the entire Internet   :clnglasses: , and I cannot find anything about reading keys from a D-PAD via DINPUT.  Plenty of stuff about XInput for Xbox controllers, and a lot around DirectInout for joysticks and associated buttons, but nothing abut D-PAD.

 

Happy to be guided if anyone has any pointers.  :help:


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#22 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,985 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 14 January 2019 - 08:58 PM

Not sure if this is helpful...but yes I remember reading the D-pad / POV Hat is reported different than an AXIS or a Button.

 

https://docs.microso...and-directinput



#23 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,601 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 15 January 2019 - 01:37 AM

:twiddling: Thanks, one of the many pages I consumed

 

Is the DPAD and POV the same thing?  I can see how to get POV.  I'm happy to setup a test for POV and see if your DPAD registers by reading that.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#24 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,985 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 15 January 2019 - 07:09 AM

:twiddling: Thanks, one of the many pages I consumed

 

Is the DPAD and POV the same thing?  I can see how to get POV.  I'm happy to setup a test for POV and see if your DPAD registers by reading that.

 

Yes, the DPAD and the POV (Point of View HAT) are seen as the same thing.


Edited by TerryRed, 15 January 2019 - 07:10 AM.


#25 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,985 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 16 January 2019 - 07:57 AM

...oh and if you get that to work I'll be happy to test. :)



#26 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,601 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 18 January 2019 - 08:39 AM

...oh and if you get that to work I'll be happy to test. :)

 

Ask and ye shall receive.  A custom DOFLinx for testing heading your way shortly  :dblthumb:


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here





Also tagged with one or more of these keywords: XINPUT