RamonUnch / AltSnap

Maintained continuation of Stefan Sundin's AltDrag
GNU General Public License v3.0
2.08k stars 66 forks source link

[Question] Fn key as a modifier? #489

Closed oas2128 closed 10 months ago

oas2128 commented 11 months ago

Hi,

Is it possible to use the fn key as a modifier to activate the alternative action (resizing)? I use Rectangle Pro on my work Mac and am try to avoid disrupting my muscle memory as much as possible by replicating the functionality and keyboard layout on my personal machine

RamonUnch commented 11 months ago

Unfortunately the fn key is internally handled by the keyboard itself (hardware level) and cannot be directly used from the OS level. It could be possible with a driver specific to your keyboard but I wont be able to do this. Otherwise if you want to use a key other than the ususal Ctrl/Alt/WinKey, yu can see the vKey code inside the test window. ie: go to the Advanced tab of the Config, click the Test Window button, then select the test window and hit the key of which you would like to see the virtual key code. Once you get the code of a specific key, you can select it as a hotkey by directly editing the Hotkeys entry in the [Input] section of the ini file.

RamonUnch commented 10 months ago

Linked in the READ FIRST pinned issue.