Thanks for your hard-work, I've used virtual controller to remap the buttons of my old flight joystick without build-in re-mapper. It works excellently with Autohotkey.
The only problem I've encountered is the setting of POV. Before using virtual controller, I can control my view by using corresponding POV directions. When I release the POV hat, the view would fix at the angle where I want there.
Since the POV worked fine with my flight sims, I didn't remap it with autohotkey. I configured the POVs via virtual controller to the VJOY with discrete POV or continuous POV, by "set neutral" modifier when I release my POV hat switches.
When I do so in the games I've tested with the VJOY POV hat, my view will not fix at the direction I want to. My view will always go back to neutral position. I've tried the increase, decrease modifiers, but the POV will not stop moving when I do so.
Any suggestions?
Best regards,
Last edit: An-Ping, Gu 2017-07-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
May help:
1) You can try use "quick mode" to setup vJoy controls.
2) You can try add binds like "POV to vJoy POV" (POV Up => vJoy CPOV 0; POV Down => vJoy CPOV 18000; POV Release => vJoy CPOV -1).
3) You can test vJoy POV in "joy.cpl" (in cmd write joy.cpl and press enter).
Currently, I work on update where you can more easy to setup controls. But it need time for new ideas and tests, since most code need be rewritten.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've done some parameter test about POV. In the end I found that in some
games, my original setting, which is the same with the setup via "quick
mode" would work perfectly.
For the game, which I reported previously (Rowan's Mig Alley, using Windows
10 X64 via DXWnd), no matter how hard I tried, the view is still set to
neutral while I release the POV hat. I don't know the reasons behind, since
before remap to the Vjoy, the POV hat of my original joystick worked
fine... Sorry I can't report more detail about it, since I have no
knowledges about how joystick works in windows.
Hope it helps for your future development. Virtual controller is a really
good tool for an old school flight sim lover with an old joystick like me.
I will test it on more games (Rowan's Battle of Britain, and may be those
older ones with Dosbox.)
May help:
1) You can try use "quick mode" to setup vJoy controls.
2) You can try add binds like "POV to vJoy POV" (POV Up => vJoy CPOV 0;
POV Down => vJoy CPOV 18000; POV Release => vJoy CPOV -1).
3) You can test vJoy POV in "joy.cpl" (in cmd write joy.cpl and press
enter).
Currently, I work on update where you can more easy to setup controls. But
it need time for new ideas and tests, since most code need be rewritten.
Hi Virtualhost:
Thanks for your hard-work, I've used virtual controller to remap the buttons of my old flight joystick without build-in re-mapper. It works excellently with Autohotkey.
The only problem I've encountered is the setting of POV. Before using virtual controller, I can control my view by using corresponding POV directions. When I release the POV hat, the view would fix at the angle where I want there.
Since the POV worked fine with my flight sims, I didn't remap it with autohotkey. I configured the POVs via virtual controller to the VJOY with discrete POV or continuous POV, by "set neutral" modifier when I release my POV hat switches.
When I do so in the games I've tested with the VJOY POV hat, my view will not fix at the direction I want to. My view will always go back to neutral position. I've tried the increase, decrease modifiers, but the POV will not stop moving when I do so.
Any suggestions?
Best regards,
Last edit: An-Ping, Gu 2017-07-23
May help:
1) You can try use "quick mode" to setup vJoy controls.
2) You can try add binds like "POV to vJoy POV" (POV Up => vJoy CPOV 0; POV Down => vJoy CPOV 18000; POV Release => vJoy CPOV -1).
3) You can test vJoy POV in "joy.cpl" (in cmd write joy.cpl and press enter).
Currently, I work on update where you can more easy to setup controls. But it need time for new ideas and tests, since most code need be rewritten.
Hi Virtual:
I've done some parameter test about POV. In the end I found that in some
games, my original setting, which is the same with the setup via "quick
mode" would work perfectly.
For the game, which I reported previously (Rowan's Mig Alley, using Windows
10 X64 via DXWnd), no matter how hard I tried, the view is still set to
neutral while I release the POV hat. I don't know the reasons behind, since
before remap to the Vjoy, the POV hat of my original joystick worked
fine... Sorry I can't report more detail about it, since I have no
knowledges about how joystick works in windows.
Hope it helps for your future development. Virtual controller is a really
good tool for an old school flight sim lover with an old joystick like me.
I will test it on more games (Rowan's Battle of Britain, and may be those
older ones with Dosbox.)
Best wishes!
An-Ping
2017-07-24 1:21 GMT+08:00 VIRTUAL virtualhost@users.sf.net:
Probably previous, I don't correct understood your goal.
I thinked you need "classic" POV (in my way of think):
POV UP = vJoy POV UP;
POV UP Release = vJoy POV UP Release;
...
POV Release = vJoy POV Release.
But probably you need next:
POV UP = vJoy CPOV 0;
POV UP+RIGHT = vJoy CPOV 4500;
POV RIGHT = vJoy CPOV 9000;
...
Without any "release" bind.
Try to test it in game and "joy.cpl".