Howdy!
I've been at this for a while, and until now without success. It seemed impossible to map the fn key if it wasn't recognized by your computer since it doesn't send out a scan code you can use to remap it.
Then I found a DLL file on this forum written by Micha: DLLCall: Support for Human Interface devices. With this DLL it's possible to get a response back for a number of special keys, also Fn keys. So based on this DLL I wrote a script that checks whether the Fn key is pressed or released, so it can function as a modifier and you can use it in any way you'd like.
Since the matter of remapping the Fn key has been a problem for so many people for quite a while now, I created a complete guide explaining every step in full detail. The guide, and all the relevant files and information that comes along with it, can be found at:
http://brrp.mine.nu/fnkey/
http://yotz.eu/fnkey/
All this is based on the remapping of my Apple Wireless Keyboard, now with full use of the Fn key as a modifier and also the Eject key. From what I gather, the DLL has helped a lot of people already to remap single action keys and in doing so has proven its worth. That's why I'm confident that this method for remapping the Fn key will work on a wide variety of keyboards.
I hope this solves the Fn key mapping problem for all the people who've been looking for a solution all this time. Feedback on the script and on whether you succeeded is much appreciated.
Good luck!
Remapping the Fn key - a solution
Started by
Veil
, Apr 06 2008 03:23 AM
23 replies to this topic
#1
-
Posted 06 April 2008 - 03:23 AM
Folx, have a look at Veil's offered link! His documentation/website is an impressing example how to document your next AHK Tool.
@ Veil
Thx for sharing it! Much appreciated. 8)
@ Veil
Thx for sharing it! Much appreciated. 8)
#2
-
Posted 06 April 2008 - 09:09 AM
#3
-
Posted 28 May 2008 - 09:09 PM
FnMapper.ahk link is broken. Could anybody provide the script?
Thanks!.
Thanks!.
#7
-
Posted 07 June 2008 - 08:33 PM
Thanks for the great howto. I just bought a MB110LL/A and I'm hoping I can get it working with my desktop. I'm on vacation right now and I plugged it into my ASUS M5N notebook, but couldn't detect the function key. I'll try with my desktop when I get home.
#8
-
Posted 19 July 2008 - 09:24 PM
#10
-
Posted 09 September 2008 - 08:58 PM
<!-- m -->http://yotz.eu/fnkey/<!-- m --> works
#11
-
Posted 10 September 2008 - 06:57 PM
I created a copy on ahk.net, just in case (I assume Veil doesn't mind):
https://ahknet.autoh.../Veil/fnkey.htm
HTH
________________________________________________________
New here? Please, before you post...
1. Read the tutorial and try the examples. -> 2. Take a look at the command list to get an idea of what you could do. -> 3. Create your script. Consult the documentation and the FAQ if you get stuck. -> 4. Search the forum if you need help or examples, method 1 (forum), method 2 (site), method 3 (Google). -> 5. Post your code on the forum in the "Ask for Help" section if you still run into problems (but read this first). -> 6. There is more AHK on autohotkey.net and the Wiki and there is an AHK IRC chat.
https://ahknet.autoh.../Veil/fnkey.htm
HTH
________________________________________________________
New here? Please, before you post...
1. Read the tutorial and try the examples. -> 2. Take a look at the command list to get an idea of what you could do. -> 3. Create your script. Consult the documentation and the FAQ if you get stuck. -> 4. Search the forum if you need help or examples, method 1 (forum), method 2 (site), method 3 (Google). -> 5. Post your code on the forum in the "Ask for Help" section if you still run into problems (but read this first). -> 6. There is more AHK on autohotkey.net and the Wiki and there is an AHK IRC chat.
#12
-
Posted 11 September 2008 - 05:28 PM
I tried to follow the tutorial, but the only think I get when i run the AutoHotkeyRemoteControlDLL.ahk
is a little message box saying:
GetDeviceCount fehlgeschlagen. Errorcode: -3
What is wrong?
is a little message box saying:
GetDeviceCount fehlgeschlagen. Errorcode: -3
What is wrong?
#13
-
Posted 16 September 2008 - 09:55 PM
You are not using XP (or Vista)? If I recall correctly, this only works on Windows XP (or up)...
#14
-
Posted 17 September 2008 - 12:31 PM
Well I am on XP Pro edition....
On a T61 Thinkpad
Any idea what is wrong? When I double click the AutoHotkeyRemoteControlDLL.ahk I do not get any application window as they say in the tutorial, but instead that error message as i said above....
On a T61 Thinkpad
Any idea what is wrong? When I double click the AutoHotkeyRemoteControlDLL.ahk I do not get any application window as they say in the tutorial, but instead that error message as i said above....
#15
-
Posted 19 September 2008 - 12:27 AM