4

I've googled, read forums but unsucceed in this. Tried "Mystery of the Fn key" http://www.autohotkey.net/~daonlyfreez/tutorials/3p/Veil/fnkey.htm But stucked at AutoHotkeyRemoteControlDLL.ahk, that doesn't react on my Fn key on all devices (1-5 HID, 6-9 Keyboard, 10-16 mouse).

Any suggestions?

Joe DF
  • 5,438
  • 6
  • 41
  • 63
Roman Malieiev
  • 205
  • 4
  • 10
  • Did you place the `AutoHotkeyRemoteControlDLL.ahk` in the "C:\Users\YOURACCOUNTNAME\Documents\AutoHotkey\Lib" directory? – Robert Ilbrink Mar 09 '13 at 12:08
  • first you can try sniffing whether the keyboard does transmit the `Fn` key or not. If not, then any driver or remapper won't work. Article http://julien.danjou.info/blog/2012/logitech-k750-linux-support can guide you, they used Wireshark under Windows with k750. – miroxlav Mar 18 '14 at 14:43
  • Please check my answer here: http://stackoverflow.com/a/24927828/1601703 . Maybe it can help you. – vasili111 Aug 15 '14 at 06:38
  • Possible duplicate of [what is the Function key called in Auto Hotkey](https://stackoverflow.com/questions/27435328/what-is-the-function-key-called-in-auto-hotkey) – Stevoisiak Oct 12 '17 at 19:25

1 Answers1

2

The problem with the Fn key is, that a lot of keyboards don't implement it as normal key, but as a modifier that changes the key messages of other keys pressed at the same time.

So here is an example scenario of how Windows could see your input:

Press F1 down - Windows receives the F1 down code
Press F1 up - Windows receives the F1 up code
Press Fn down - Windows doesn't get anything
Press F1 down - Windows receives the media ▶ down code
Press F1 up - Windows receives the media ▶ up code
Press Fn up - Windows doesn't get anything

Forivin
  • 14,780
  • 27
  • 106
  • 199