|
|
|
|
|
by dr_kiszonka
1071 days ago
|
|
Hi! Thanks for building so many useful utilities! I tried your TPMouse a few months ago, but had two problems: 1. I couldn't figure out how to remap F/E/R in grid mode to, e.g., A/S/D (left/middle/right). I tried editing the code but didn't get anywhere. 2. CapsLk G/Q didn't work for on my PC and the longer shortcuts were a bit too inconvenient for me. Would you consider adding a brief document about customizing TPMouse to you repo? |
|
In the meantime, for the current version of TPMouse on the dev branch, to change the remapping of arrows and mouse buttons, you need to edit `keybinds.au3` in three spots:
1. the virtual-key constant at the static array at the top
2. the hotkey string at the static array at the top
3. (this is really poor UX I know) in the static struct declaration inside the respective callback function, change the referenced virtual-key constant.
The list of virtual key codes can be found in `vkeys.au3`:
https://github.com/EsportToys/TPMouse/blob/dev/vkeys.au3
So for example, to remap mouse1 from F to A, I need to do the following:
Line 10:
Lin 68: As for changing the activation hotkeys, if you wish to use a different modifier other than CapsLk, change the vkey code on line 74, 90, and line 107 of TPMouse.au3; for example, to change it from CapsLk to Alt:Line 74:
Line 90: Line 107: