axis - Controlling joystick axes using AutoHotkey -


i getting flight stick kerbal space program , hoping ahk-ify it, every other peripheral use on computer. know how remap joystick buttons, , how readings axes of flight stick , throttle, unsure of how control axes virtually using autohotkey. i've seen mentions of libraries integrating vjoy , other programs, complicated , haven't figured out how use them. possible manipulate joystick axes in pure ahk v1.1?

no, not possible alter how physical joystick reports using any third party software, let alone autohotkey.

however, x360ce can alter how game sees xbox pad, because inserts fake xinput dll game folder, when game makes xinput calls, intercepts them.

obviously, if joystick comes driver, software can alter how stick reports.

there is, however, workaround:
install shaul's vjoy, can create fake "virtual" stick.
read input physical stick, , write (altered) state virtual vjoy stick.

i have written library called cvjoyinterface makes accessing vjoy ahk simple.

the problem method physical stick still visible game, need force game take input virtual stick instead of physical stick. can hard, because in game's bind screen, when move physical stick, game see move before virtual stick, , instead bind that.

if wish able kind of remapping without having resort coding, write autohotkey-based app called ucr can you.
ucr includes "gamebind" feature, allows insert delay remappings, can move stick, click bind in game, , wait ucr move stick after delay, game sees virtual stick move.
once have made bindings in-game, turn off gamebind.

there new suite of apps being written called vigem, 1 of components of called hidguardian. when finished, should allow hide physical stick except remapping applications such ucr, enabling proper remapping without having resort delaying input etc.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -