My Windows 10 Laptop is using A Broadcom Bluetooth Driver from Lenovo(source link). The Lenovo Driver allows me to connect my phone using Bluetooth and control it using my Laptop's Keyboard and Mouse. To play games, I have to use an Android app called Panda Mouse Pro(source link). The controls work fine except for the joystick movement button/ WASD movement control.
My main problem is:
When I press 'W'(or ASD), it sends that key repeatedly to the phone instead of holding down that key. Because of this, movement becomes impossible. So I want to make it so that when I press the 'W' key, it just sends a 'W key down' command and when I release the 'W' key, it sends a 'W key up' command.
I tried turning on filter keys, messing around with ignore keys and repeat keys, and none of it helped. Thanks in advance.
Panda Mouse Pro Games Help
Re: Panda Mouse Pro Games Help
Welcome to this AutoHotkey forum!
Code: Select all
$w::
Send {w down}
KeyWait, w
Send {w up}
Return
- clearspark
- Posts: 5
- Joined: 07 Jul 2022, 05:58
Re: Panda Mouse Pro Games Help
@mikeyww it does not work as I want it. After applying the script, the key does not repeat, but it does not 'hold' the control in place. It acts just like tapping a key.
- clearspark
- Posts: 5
- Joined: 07 Jul 2022, 05:58
Re: Panda Mouse Pro Games Help
Here is the game footage of how the controls are supposed to work as compared to how it is.
How the controls are supposed to work (the movement joystick in the bottom left corner)-> https://i.imgur.com/7p6CZEe.mp4
How the controls work without any ahk script -> https://i.imgur.com/P83FmMA.mp4
How the controls work after using the above(source) ahk script -> https://i.imgur.com/rLMe2oF.mp4
How the controls are supposed to work (the movement joystick in the bottom left corner)-> https://i.imgur.com/7p6CZEe.mp4
How the controls work without any ahk script -> https://i.imgur.com/P83FmMA.mp4
How the controls work after using the above(source) ahk script -> https://i.imgur.com/rLMe2oF.mp4
Re: Panda Mouse Pro Games Help
Three things to do:
1. See if the script works in Notepad.
2. Examine the KeyHistory to see what the keys are doing.
3. See tips for games. viewtopic.php?f=7&t=11084
Send always sends to the active window.
1. See if the script works in Notepad.
2. Examine the KeyHistory to see what the keys are doing.
3. See tips for games. viewtopic.php?f=7&t=11084
Send always sends to the active window.