• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:02
CET 20:02
KST 04:02
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket9Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA12
StarCraft 2
General
RSL Season 3: RO16 results & RO8 bracket SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales! Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
Data analysis on 70 million replays FlaSh on: Biggest Problem With SnOw's Playstyle soO on: FanTaSy's Potential Return to StarCraft [ASL20] Ask the mapmakers — Drop your questions BGH Auto Balance -> http://bghmmr.eu/
Tourneys
Small VOD Thread 2.0 [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET
Strategy
Current Meta How to stay on top of macro? PvZ map balance Simple Questions, Simple Answers
Other Games
General Games
Path of Exile [Game] Osu! Should offensive tower rushing be viable in RTS games? Clair Obscur - Expedition 33 Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1833 users

F5 Key doesn't work without Fn

Forum Index > Tech Support
Post a Reply
Flonomenalz
Profile Joined May 2011
Nigeria3519 Posts
June 26 2012 23:37 GMT
#1
Hello again techies

Just got a new HP Pavilion dv7 notebook, and the F5 key is literally a blank key. Like, it has no icon on it or anything, and it does not work without the Fn key. I have already gone to the Bios and set it so my f1-f12 work without Fn, and all of them do EXCEPT F5, for whatever strange reason. This is really, really annoying.

Any idea how to fix this?
I love crazymoving
Pseudoku
Profile Joined March 2011
Canada1279 Posts
June 27 2012 00:16 GMT
#2
Not sure if you're describing this for what you've attempted: http://h10025.www1.hp.com/ewfrf/wc/document?cc=pl&lc=pl&dlc=pl&docname=c02035108

But as a last resort, you could probably capture which key code gets sent from that key (if that key actually registers when pressed without the Fn key) and then programmatically send the F5 key when that occurs.
Logic fails because we are lazy.
Flonomenalz
Profile Joined May 2011
Nigeria3519 Posts
June 27 2012 00:20 GMT
#3
On June 27 2012 09:16 Pseudoku wrote:
Not sure if you're describing this for what you've attempted: http://h10025.www1.hp.com/ewfrf/wc/document?cc=pl&lc=pl&dlc=pl&docname=c02035108

But as a last resort, you could probably capture which key code gets sent from that key (if that key actually registers when pressed without the Fn key) and then programmatically send the F5 key when that occurs.

Yep I've already done what is posted in that link.

And I have no idea how to do what you posted as a last resort, please explain =(
I love crazymoving
lSasquatchl
Profile Joined February 2011
United States309 Posts
June 27 2012 00:57 GMT
#4
Try booting it in safe mode after you make sure the FN functions are still disabled.
Pseudoku
Profile Joined March 2011
Canada1279 Posts
June 27 2012 02:07 GMT
#5
On June 27 2012 09:20 Flonomenalz wrote:
Show nested quote +
On June 27 2012 09:16 Pseudoku wrote:
Not sure if you're describing this for what you've attempted: http://h10025.www1.hp.com/ewfrf/wc/document?cc=pl&lc=pl&dlc=pl&docname=c02035108

But as a last resort, you could probably capture which key code gets sent from that key (if that key actually registers when pressed without the Fn key) and then programmatically send the F5 key when that occurs.

Yep I've already done what is posted in that link.

And I have no idea how to do what you posted as a last resort, please explain =(


I guess you could try AutoHotKey: http://www.autohotkey.com/
It is capable of remapping keys: http://www.autohotkey.com/docs/misc/Remap.htm

Try using the AutoScriptWriter to see if it detects what key that button sends.

If AutoScriptWriter doesn't detect the key, you'd probably have to create a program that hooks the keyboard.

+ Show Spoiler +

Here's some C# code... TL doesn't preserve indents

+ Show Spoiler +

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;

namespace Capture
{
static class Program
{

const int yourF5Key = 1234; // Replace 1234 with the actual value of the button
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
_hookID = SetHook(_proc);
UnhookWindowsHookEx(_hookID);
}

/****************************************/
private const int WH_KEYBOARD_LL = 13;
//private const int WH_KEYBOARD_LL = 13;
private const int WM_KEYDOWN = 0x0100;
private const int VK_F1 = 0x70;
private static LowLevelKeyboardProc _proc = HookCallback;
private static IntPtr _hookID = IntPtr.Zero;

private static IntPtr SetHook(LowLevelKeyboardProc proc)
{
using (Process curProcess = Process.GetCurrentProcess())
using (ProcessModule curModule = curProcess.MainModule)
{
return SetWindowsHookEx(WH_KEYBOARD_LL, proc,
GetModuleHandle(curModule.ModuleName), 0);
}
}

private delegate IntPtr LowLevelKeyboardProc(
int nCode, IntPtr wParam, IntPtr lParam);

private static IntPtr HookCallback(
int nCode, IntPtr wParam, IntPtr lParam)
{

if (nCode >= 0)
{
Keys number = (Keys)Marshal.ReadInt32(lParam); // Stores the key pressed into the number variable
if (number == (Keys)yourF5key){ // Check for your "F5" button
SendKeys.Send("{F5}"); // Sends F5
}

}
return CallNextHookEx(IntPtr.Zero, nCode, wParam, lParam);

}

[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr SetWindowsHookEx(int idHook,
LowLevelKeyboardProc lpfn, IntPtr hMod, uint dwThreadId);

[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool UnhookWindowsHookEx(IntPtr hhk);

[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode,
IntPtr wParam, IntPtr lParam);

[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr GetModuleHandle(string lpModuleName);
}
}



You'd have to find out the value of the number variable when you press your "F5" button (can be done in debugging mode in an IDE such as Visual Studio, just add a breakpoint after this and check for the value of number):
+ Show Spoiler +
Keys number = (Keys)Marshal.ReadInt32(lParam);


And then modify the conditional statement so that when that "F5" button's number is matched
+ Show Spoiler +
if (number == yourF5keynumber)


The program sends the F5 key.
+ Show Spoiler +
SendKeys.Send("{F5}");
Logic fails because we are lazy.
Plunderwondr
Profile Blog Joined May 2012
Canada45 Posts
June 27 2012 06:44 GMT
#6
Yeah this is a popular thing with Dell laptops , you just have to go into the BIOS and change that F keys have priority over FN keys so that you have to press the FN button to use Functions ... silly isnt it ? xD
lSasquatchl
Profile Joined February 2011
United States309 Posts
June 28 2012 15:24 GMT
#7
My absolute FAVORITE thing is when you try to help someone with their "tech" problem and they never reply.
Plunderwondr
Profile Blog Joined May 2012
Canada45 Posts
June 28 2012 20:26 GMT
#8
Once your problems solved who cares anymore right ?
DJFaqU
Profile Joined May 2011
466 Posts
June 28 2012 21:22 GMT
#9
On June 29 2012 00:24 lSasquatchl wrote:
My absolute FAVORITE thing is when you try to help someone with their "tech" problem and they never reply.


Second only to "never mind guys, I fixed it".
Plunderwondr
Profile Blog Joined May 2012
Canada45 Posts
June 29 2012 01:55 GMT
#10
I work at a computer repair store and my favourite thing to hear is
"It won't work"
Okay so whats wrong with it?
"i dunno it just doesnt work"

ಠ_ಠ
Flonomenalz
Profile Joined May 2011
Nigeria3519 Posts
Last Edited: 2012-06-29 19:21:48
June 29 2012 19:07 GMT
#11
Actually, it's not that I stopped replying, it's that I had some stuff to take care of school wise, and the F5 problem kind of took the back seat in my mind in the midst of all the work I was doing, I apologize.

I'll already changed the settings in the Bios Plundr, I said that in the OP.

I have booted it in safe mode and it's disabled. Like I said, all my other F keys work without Fn after I changed the Bios EXCEPT for F5, it just does nothing.

Pseudoku thanks for the response, checking that out now, and wow you even wrote C# code for me ^.^ Unfortunately I've only learned Java up till now (just started learning Java's GUI after learning the basics of it) so I don't FULLY understand the C# code, but I get the gist of it. I'm going to learn from it though, thanks so much for that, quick question, is "using" in C# the same thing as "import" in Java?).

edit: Aha, I simply remapped the key using autohotkey, I will run that C# code though later tonight to find the issue with F5. Thank you all so much for your responses, and I especially thank you pseudoku
I love crazymoving
Pseudoku
Profile Joined March 2011
Canada1279 Posts
June 30 2012 00:03 GMT
#12
Yes, using is essentially import.
C# is quite similar to Java.

Glad to hear that Autohotkey worked.

I actually just copied and pasted some code I already use for capturing Print Screen (since that button doesn't get picked up as a KeyEvent...) and modified it.
Logic fails because we are lazy.
Plunderwondr
Profile Blog Joined May 2012
Canada45 Posts
June 30 2012 02:41 GMT
#13
Ah i misread that, sorry bout that Flono!
Please log in or register to reply.
Live Events Refresh
Next event in 1h 58m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 235
IndyStarCraft 140
UpATreeSC 118
MindelVK 28
StarCraft: Brood War
Britney 32299
Calm 2675
Rain 2250
Sea 1650
firebathero 336
Dewaltoss 95
White-Ra 74
yabsab 24
Movie 17
HiyA 16
[ Show more ]
scan(afreeca) 13
Shine 9
Dota 2
Gorgc6239
qojqva2282
League of Legends
Trikslyr63
rGuardiaN28
Counter-Strike
fl0m757
Heroes of the Storm
Liquid`Hasu71
Other Games
FrodaN1654
Grubby1511
ceh9727
Beastyqt581
Mlord400
RotterdaM240
KnowMe213
ArmadaUGS186
SteadfastSC145
Sick116
DeMusliM100
C9.Mang081
PiGStarcraft61
XaKoH 57
Organizations
Dota 2
PGL Dota 2 - Main Stream19085
Other Games
BasetradeTV38
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• iHatsuTV 12
• Reevou 4
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• blackmanpl 28
• HerbMon 26
• FirePhoenix12
• 80smullet 8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1997
• WagamamaTV487
League of Legends
• TFBlade997
Other Games
• Shiphtur251
Upcoming Events
BSL: GosuLeague
1h 58m
RSL Revival
12h 28m
Zoun vs Classic
SHIN vs TriGGeR
herO vs Reynor
Maru vs MaxPax
WardiTV Korean Royale
16h 58m
Replay Cast
1d 3h
RSL Revival
1d 12h
WardiTV Korean Royale
1d 16h
IPSL
1d 21h
Julia vs Artosis
JDConan vs DragOn
BSL 21
2 days
TerrOr vs Aeternum
HBO vs Kyrie
RSL Revival
2 days
Wardi Open
2 days
[ Show More ]
IPSL
3 days
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
3 days
StRyKeR vs Artosis
OyAji vs KameZerg
Replay Cast
3 days
Monday Night Weeklies
3 days
Replay Cast
4 days
Wardi Open
4 days
Replay Cast
5 days
Wardi Open
5 days
Tenacious Turtle Tussle
6 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-11-16
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.