AutoHotkey Community

It is currently May 26th, 2012, 12:14 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: April 6th, 2008, 4:23 am 
Offline

Joined: April 1st, 2008, 4:37 pm
Posts: 24
Location: Netherlands
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 6th, 2008, 10:09 am 
Folx, have a look at Veil's offered link! His documentation/website is an impressing example how to document your next AHK Tool. :D

@ Veil
Thx for sharing it! Much appreciated. 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2008, 10:09 pm 
Does anyone know where to find this script?

http://brrp.mine.nu/fnkey/ seems to be a dead link :( :(


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2008, 10:27 pm 
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)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2008, 2:48 pm 
Offline

Joined: April 1st, 2008, 4:37 pm
Posts: 24
Location: Netherlands
Site is back up!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2008, 5:28 pm 
Thx. 8)


Report this post
Top
  
Reply with quote  
 Post subject: FnMapper.ahk link broken
PostPosted: June 7th, 2008, 9:33 pm 
FnMapper.ahk link is broken. Could anybody provide the script?
Thanks!.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 19th, 2008, 10:24 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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2008, 6:27 pm 
the link is dead again...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2008, 9:58 pm 
Online
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Unfortunately cache is not working!
http://www.google.com/search?hl=en&as_q ... e.nu&meta=

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 10th, 2008, 7:57 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
http://yotz.eu/fnkey/ works

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 11th, 2008, 6:28 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject: Does not work for me
PostPosted: September 16th, 2008, 10:55 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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 17th, 2008, 1:31 pm 
You are not using XP (or Vista)? If I recall correctly, this only works on Windows XP (or up)...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 19th, 2008, 1:27 am 
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....


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: bbwht, Morpheus, oldbrother and 61 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group