AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remapping the Fn key - a solution
Goto page 1, 2  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Veil



Joined: 01 Apr 2008
Posts: 24
Location: Netherlands

PostPosted: Sun Apr 06, 2008 3:23 am    Post subject: Remapping the Fn key - a solution Reply with quote

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!
Back to top
View user's profile Send private message Send e-mail
BoBo²
Guest





PostPosted: Sun Apr 06, 2008 9:09 am    Post subject: Reply with quote

Folx, have a look at Veil's offered link! His documentation/website is an impressing example how to document your next AHK Tool. Very Happy

@ Veil
Thx for sharing it! Much appreciated. Cool
Back to top
Palomar
Guest





PostPosted: Wed May 28, 2008 9:09 pm    Post subject: Reply with quote

Does anyone know where to find this script?

http://brrp.mine.nu/fnkey/ seems to be a dead link Sad Sad
Back to top
BoBo²
Guest





PostPosted: Wed May 28, 2008 9:27 pm    Post subject: Reply with quote

Have a look if the script itself will work out for you: [here].
Feel free to send Veil a PM (he's registered, and might be able to reactivate/replace the dead page)
Back to top
Veil



Joined: 01 Apr 2008
Posts: 24
Location: Netherlands

PostPosted: Wed Jun 04, 2008 1:48 pm    Post subject: Reply with quote

Site is back up!
Back to top
View user's profile Send private message Send e-mail
BoBo²
Guest





PostPosted: Wed Jun 04, 2008 4:28 pm    Post subject: Reply with quote

Thx. Cool
Back to top
Hammillian7
Guest





PostPosted: Sat Jun 07, 2008 8:33 pm    Post subject: FnMapper.ahk link broken Reply with quote

FnMapper.ahk link is broken. Could anybody provide the script?
Thanks!.
Back to top
yeahtuna
Guest





PostPosted: Sat Jul 19, 2008 9:24 pm    Post subject: Reply with quote

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.
Back to top
Guest






PostPosted: Tue Sep 09, 2008 5:27 pm    Post subject: Reply with quote

the link is dead again...
Back to top
SKAN



Joined: 26 Dec 2005
Posts: 8688

PostPosted: Tue Sep 09, 2008 8:58 pm    Post subject: Reply with quote

Unfortunately cache is not working!
http://www.google.com/search?hl=en&as_qdr=all&q=fnkey+site%3Abrrp.mine.nu&meta=
_________________
URLGet - Internet Explorer based Downloader
Back to top
View user's profile Send private message Send e-mail
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Wed Sep 10, 2008 6:57 pm    Post subject: Reply with quote

http://yotz.eu/fnkey/ works
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
n-l-i-d
Guest





PostPosted: Thu Sep 11, 2008 5:28 pm    Post subject: Reply with quote

I created a copy on ahk.net, just in case (I assume Veil doesn't mind):

http://www.autohotkey.net/~daonlyfreez/tutorials/3p/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.
Back to top
mr. bean
Guest





PostPosted: Tue Sep 16, 2008 9:55 pm    Post subject: Does not work for me Reply with quote

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?
Back to top
n-l-i-d
Guest





PostPosted: Wed Sep 17, 2008 12:31 pm    Post subject: Reply with quote

You are not using XP (or Vista)? If I recall correctly, this only works on Windows XP (or up)...
Back to top
mr. bean
Guest





PostPosted: Fri Sep 19, 2008 12:27 am    Post subject: Reply with quote

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....
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group