RSS

HP Keyboard Fn key toggle – no option in BIOS

19 Nov

I ran into a small problem. How to how to turn off multimedia keys on included wireless keyboard and instead use fn keys. (HP Pavilion All In One, HP Pavilion gaming PC- Windows 10)

Most suggested solution was to enable or disable action key option in BIOS. But this option was not found in my BIOS.

Some people on google said holding down the Fn key and tapping the Caps Lock or fn+esc will solve this issue. but did not work in my case.

Then i read the following solution on an HP forum. Not a solution by HP.
Some user came up with this workaround.

This worked for me. Copy-pasting the post below for future reference.


” I found a pretty decent workaround about this Fn lock issue after hunting down for a while. The workaround is sort of sophisticated, so you can give it a shot if you are really dedicated to solving this Fn lock issue.

The workaround method involves the use of a program called AutoHotkey.

AutoHotkey uses hooks to map the media function key presses back to F keys and F key presses into media functions keys to achieve the effect of “unlocking” the Fn lock.
My HP keyboard is Pavilion Wireless Keyboard 600 (black). I really like the white version of this soft & short-distance chiclet keyboard when I was trying it in BestBuy, but the white version is only sold together with the all-in-one. That means, I am using this HP keyboard with my custom desktop (non-HP brand) tower and unable to fix the Fn lock issue in the BIOS.

The attached code is written based on the association of media function keys and F keys on Pavilion Wireless Keyboard 600 only. Other models or brands of keyboards will likely to have different associations. You may look into the tutorial of AutoHotkey to customize your own code.

1. Go to https://www.autohotkey.com/download/ to download AutoHotkey.
2.Right-Click on your desktop.
3. Find “New” in the menu.
4. Click “AutoHotkey Script” inside the “New” menu.
5. Give the script a new name. It must end with a .ahk extension. For example: MyScript.ahk
6. Find the newly created file on your desktop and right-click it.
7. Click “Edit Script”.
8. A window should have popped up, probably Notepad. If so, SUCCESS!
9. Copy and paste the attached code into Notepad, and save the file.
10. Double-click the file/icon in the desktop to run it.
11. Create a shortcut of this .ahk file and move the shortcut to the “Startup” folder so that the script runs automatically every time you start windows.

The drawback of this method is that I haven’t found a way to revert the F7 & F8 keys. Therefore, only F1 through F5 and F8 through F12 can be reverted to achieve the effect of unlocking Fn lock by this code.

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#InstallKeybdHook
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

; Below based on HP Pavilion Wireless Keyboard 600

; F1 | Mute
VOLUME_MUTE::F1
F1::VOLUME_MUTE

; F2 | Volume Down
VOLUME_DOWN::F2
F2::VOLUME_DOWN

; F3 | Volume Up
VOLUME_UP::F3
F3::VOLUME_UP

; F4 | Last Song
MEDIA_PREV::F4
F4::MEDIA_PREV

; F5 | Play/Pause
MEDIA_PLAY_PAUSE::F5
F5::MEDIA_PLAY_PAUSE

; F6 | Next song
MEDIA_NEXT::F6
F6::MEDIA_NEXT

; F7 | Brightness Down

; F8 | Brightness Up

; F9 | Search
BROWSER_SEARCH::F9
F9::BROWSER_SEARCH

; F10 | Toggle display mode for multi-screen
<#Tab::
SendInput {F10}
Return

; F11 | ???
<^<#F21::
SendInput {F11}
Return

; F12 | System Settings
<#F21::
SendInput {F12}
Return

Credit: Crizalis

 
Leave a comment

Posted by on November 19, 2019 in Windows

 

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: