How do I change the functions assigned to keyboard keys?
-
- SilverLounger
- Posts: 2392
- Joined: 28 Mar 2010, 01:49
How do I change the functions assigned to keyboard keys?
I have a laptop in which fn is where ctrl should be. I want to invert the functions. I have another laptop which has a very annoying button next to Enter that launches PowerDVD. I want to disable that key. Can these operations be done easily by a beginner / intermediate computer user without completely disabling or crashing the computer and (preferably) within Windows without having to download additional software?
Regards,
JMT
JMT
-
- GoldLounger
- Posts: 2599
- Joined: 24 Jan 2010, 15:26
- Location: Olympia, WA
Re: How do I change the functions assigned to keyboard keys?
What is the make and model of these machines?
As they may be hardwired but some are controlled by the keyboard definition.
All of the laptops that I have seen, have the "Fn" key between the Ctrl and the Windows key. You are just NOT use to the NEW laptop keyboard and I do NOT think it is going to change any time soon.
As they may be hardwired but some are controlled by the keyboard definition.
All of the laptops that I have seen, have the "Fn" key between the Ctrl and the Windows key. You are just NOT use to the NEW laptop keyboard and I do NOT think it is going to change any time soon.
I am so far behind, I think I am First
Genealogy....confusing the dead and annoying the living
Genealogy....confusing the dead and annoying the living
-
- gamma jay
- Posts: 25455
- Joined: 17 Mar 2010, 17:33
- Location: Cape Town
Re: How do I change the functions assigned to keyboard keys?
You might be referring to the Lenovo brand of laptop. The CTRL key is on the inside of the Fn button. I have had Lenovo laptops for the past 4 years (excellent laptops ), and am so used to the CTRL key on the right of Fn that I get frustrated when working on another brand. So life is....
AFAIK, you cannot swop the Fn and CTRL keys (at least not on a Lenovo). Other "special" keys on most laptops can be activated or disabled, but as Dave says...it is ultimately brand orientated.
AFAIK, you cannot swop the Fn and CTRL keys (at least not on a Lenovo). Other "special" keys on most laptops can be activated or disabled, but as Dave says...it is ultimately brand orientated.
Regards,
Rudi
If your absence does not affect them, your presence didn't matter.
Rudi
If your absence does not affect them, your presence didn't matter.
-
- 5StarLounger
- Posts: 1106
- Joined: 21 Jan 2011, 16:51
- Location: Florida
Re: How do I change the functions assigned to keyboard keys?
"Fn" keys are very difficult to modify at the operating system level, even with programs like AutoHotKey that are designed to redefine keys and key sequences. These keys are dedicated to system-level functions like turning the display on / off, enabling external displays, etc., and typically are monitored by low-level routines at the keyboard BIOS level.
Easier to buy a different laptop with a keyboard you like or invest in a wireless keyboard/mouse combo, plug in the tiny dongle and off you go!
Easier to buy a different laptop with a keyboard you like or invest in a wireless keyboard/mouse combo, plug in the tiny dongle and off you go!
PJ in (usually sunny) FL
-
- SilverLounger
- Posts: 2392
- Joined: 28 Mar 2010, 01:49
Re: How do I change the functions assigned to keyboard keys?
I am trying to swap the ctrl and fn keys on a Lenovo Thinkpad. Is this not possible?
I am also trying to deactivate several keyboard buttons (PowerDVD, calculator, etc.) on an HP G64 laptop.
I am also trying to deactivate several keyboard buttons (PowerDVD, calculator, etc.) on an HP G64 laptop.
Regards,
JMT
JMT
-
- SilverLounger
- Posts: 2072
- Joined: 25 Jan 2010, 02:12
-
- 5StarLounger
- Posts: 1106
- Joined: 21 Jan 2011, 16:51
- Location: Florida
Re: How do I change the functions assigned to keyboard keys?
The FN key is a HARDWARE modifier key and alters how the keyboard controller chip reports keypress scancodes to the operating system. No software solution or registry hack will change that. Some exceptions are possible on laptops where a specific combo-key using the FN key has been programmed at the BIOS level to produce a scancode that can be captured and redirected to another function. For instance, my Dell laptop combines the Fn+End keys to generate the scancode for PrtSc (Print Screen). In that case, I can capture that combination and perform a function using AutoHotKey to watch for the PrtSc key. Those are "one-off" solutions, not wholesale key swapping of Fn and Ctrl that you're asking about.
Some BIOS level hacks are available depending on the laptop make and model, but these require access and knowledge to apply BIOS changes.
See http://forums.lenovo.com/t5/T400-T500-a ... d-p/656961 that discusses a BIOS hack on some models of Lenovo laptops.
Disabling those "extra" keys is much simpler as the keyboard generates normal scancodes for those keys. Sharpkeys, the program JoeP suggested, uses the Windows registry to modify or disable the keys. Once the registry is modified by the program and the PC is rebooted, Windows handles the keyboard changes, so no programs have to be running in the background.
Anything further will need a program running to capture the scancodes and perform a function. AutoHotKey is very capable of doing this and much more. Disabling the key to run your default browser, for instance, requires this two line script be executed by AutoHotKey:
The syntax is {key}::{action} so any key can be listed by name in front of the "::" and leaving the action blank disables the key. Simply add more lines to the script to disable more keys.
See http://www.autohotkey.com/docs/KeyList.htm for a list of other keys or how to find the scancodes for non-standard keys like "Launch PowerDVD" probably is.
Some BIOS level hacks are available depending on the laptop make and model, but these require access and knowledge to apply BIOS changes.
See http://forums.lenovo.com/t5/T400-T500-a ... d-p/656961 that discusses a BIOS hack on some models of Lenovo laptops.
Disabling those "extra" keys is much simpler as the keyboard generates normal scancodes for those keys. Sharpkeys, the program JoeP suggested, uses the Windows registry to modify or disable the keys. Once the registry is modified by the program and the PC is rebooted, Windows handles the keyboard changes, so no programs have to be running in the background.
Anything further will need a program running to capture the scancodes and perform a function. AutoHotKey is very capable of doing this and much more. Disabling the key to run your default browser, for instance, requires this two line script be executed by AutoHotKey:
Code: Select all
#InstallKeybdHook
Browser_Home::
See http://www.autohotkey.com/docs/KeyList.htm for a list of other keys or how to find the scancodes for non-standard keys like "Launch PowerDVD" probably is.
PJ in (usually sunny) FL
-
- SilverLounger
- Posts: 2392
- Joined: 28 Mar 2010, 01:49
Re: How do I change the functions assigned to keyboard keys?
I found out how to swap the fn and ctrl keys, as discussed on the link posted by PJ_in_FL. It is as follows:
1. Reboot the computer
2. Press F1 to enter BIOS setup
3. Config -> keyboard/mouse -> Fn and Ctrl Key swap
Is anyone aware of how to assign the right Ctrl or PrtSc key the Context Menu function without having to install third-party software?
1. Reboot the computer
2. Press F1 to enter BIOS setup
3. Config -> keyboard/mouse -> Fn and Ctrl Key swap
Is anyone aware of how to assign the right Ctrl or PrtSc key the Context Menu function without having to install third-party software?
Regards,
JMT
JMT
-
- Administrator
- Posts: 78625
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: How do I change the functions assigned to keyboard keys?
I don't think that's possible without third-party software. Doesn't your keyboard have a menu key? It's usually between the right-hand Windows key and right-hand Ctrl key:
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 2392
- Joined: 28 Mar 2010, 01:49
Re: How do I change the functions assigned to keyboard keys?
Hans: It does not. Lenovo discontinued the context key (which I believe you are referring to as the "menu" key).
What about disabling a key on my keyboard that launches power DVD and another that launches the calculator? Can those be deactivated?
What about disabling a key on my keyboard that launches power DVD and another that launches the calculator? Can those be deactivated?
Regards,
JMT
JMT
-
- Administrator
- Posts: 78625
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: How do I change the functions assigned to keyboard keys?
I think you'd need third-party software for that.
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 2392
- Joined: 28 Mar 2010, 01:49
Re: How do I change the functions assigned to keyboard keys?
Is anyone aware of a good third-party software that can assign to a PrtSc or Ctrl key the function of the Context key / Menu key?
Regards,
JMT
JMT