Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Joystick support


  • Please log in to reply
21 replies to this topic
Rajat
  • Members
  • 1904 posts
  • Last active: Jul 17 2015 07:45 AM
  • Joined: 28 Mar 2004
the new beta works great for me... i've updated the script above.

IMPORTANT: there was a li'l error in the example script that i've fixed.

GetKeyState, joyp, %JoyStickNumber%JoyP
should be
GetKeyState, joyp, %JoyStickNumber%JoyPOV

MIA

CleanNews.in : Bite sized latest news headlines from India with zero bloat


Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
Good idea. I've updated the test script to use ToolTip. I have the tip appear at its default position near the mouse cursor since that might be a little more usable. I didn't put an exit hotkey in since it might conflict with other scripts the user might be running.

http://www.autohotke...oystickTest.htm

the new beta works great for me... i've updated the script above.

If you get a chance and you haven't already, can you try out the 4 new control names I added above? On my joystick, the return values are a little weird for some things, such as button count.

Rajat
  • Members
  • 1904 posts
  • Last active: Jul 17 2015 07:45 AM
  • Joined: 28 Mar 2004

If you get a chance and you haven't already, can you try out the 4 new control names I added above? On my joystick, the return values are a little weird for some things, such as button count.


i did check it and it works fine with my joystick.

MIA

CleanNews.in : Bite sized latest news headlines from India with zero bloat


Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
Thanks, I feel better now :)

compuboy_r
  • Members
  • 68 posts
  • Last active: Oct 29 2005 03:17 PM
  • Joined: 04 May 2004
Good Work Chris !!!!!

Its working here too.

Now only joystick simulation is left to make the joystick support complete.

I hope this is there in near future.

compuboy_r

karma-zyn
  • Members
  • 1 posts
  • Last active: May 02 2005 05:09 PM
  • Joined: 21 Apr 2005
Hello
I have gamepad Sitek PC Dash 2 (P800). 'Joystick Test Script' detect onyl 32 buttons of 37.
How can i detect last 5 buttons?

TXH

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
37 buttons! :)

Currently, there is no way to go beyond 32. But there is an item on the to-do list to add DirectInput support so that this limit, as well as the 5-axis and 1-POV limit, can be exceeded.