-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Unanswered Topics - Gaming
- Home key missing on keyboard (And How to Re-Map)

Create an account on the HP Community to personalize your profile and ask a question

11-28-2019 04:43 AM - edited 12-02-2019 03:38 AM
Hi Community
I have recently purchased a HP OMEN Sequencer Keyboard, and was very disappointed when I found out that the HOME key has been replaced by the OMEN key.
I visited this forum looking for answers, and didn't find a solution to the problem.
I didn't like the macro approach.
I didn't really want to setup an AutoHotKey script.
I didn't want to install a keymapper such as SharpKeys
I found a GitHub repo "https://github.com/jingyu9575/remap-omen-key", but wanted something simpler.
In the end I wrote a registry script to re-map the Omen Key to the Home Key.
The Omen Key is F24 which is scancode 76, written as "76,00" in the registry.
The Home key is scancode e0 47, written as "47,e0" in the registry.
Here's the registry file "OmenToHome.reg":
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,47,e0,76,00,00,00,00,00
Save that in notepad, double click the file and add it to your registry, restart your PC, and problem is solved!
So now when I press the omen key, it acts like the proper home key, (and not the numpad 7 home key) and it doesn't launch the Omen Command Center anymore. I can still launch Omen Command Center from the start menu if I want.
If you wanted to undo the key mapping:
Start > regedit > Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout" > then delete "Scancode Map" entry > Restart PC.
How do I know OMEN key was F24? Go to Omen Command Center > Macros > Create New > Keystroke tab > Key Combination > Press the OMEN key, you will see F24 (If you haven't already re-mapped it.)
References:
How to write the script: https://www.experts-exchange.com/articles/2155/Keyboard-Remapping-CAPSLOCK-to-Ctrl-and-Beyond.html
Get scancode for F24: http://www.quadibloc.com/comp/scan.htm
Screenshots:
