• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:53
CEST 16:53
KST 23:53
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou17Weekly Cups (Oct 13-19): Clem Goes for Four2BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 13-19): Clem Goes for Four Chinese SC2 server to reopen; live all-star event in Hangzhou Weekly Cups (March 17-23): Clem Bounces Back DreamHack Open 2013 revealed
Tourneys
RSL Season 2 Qualifier Links and Dates $1,200 WardiTV October (Oct 21st-31st) SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
SnOw's Awful Building Placements vs barracks BW General Discussion Is there anyway to get a private coach? BGH Auto Balance -> http://bghmmr.eu/ BSL Season 21
Tourneys
[Megathread] Daily Proleagues 300$ 3D!Community Brood War Super Cup #4 [ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament
Strategy
Current Meta Roaring Currents ASL final [I] Funny Protoss Builds/Strategies BW - ajfirecracker Strategy & Training
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Things Aren’t Peaceful in Palestine US Politics Mega-thread The Chess Thread Russo-Ukrainian War Thread Men's Fashion Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Series you have seen recently... [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1382 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
OSC
11:00
Mid Season Playoffs
Solar vs CureLIVE!
Liquipedia
Replay Cast
10:00
SC2's Safe House 2: Playoffs
CranKy Ducklings97
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 507
StarCraft: Brood War
Rain 10065
Calm 5249
GuemChi 4529
Bisu 2393
Flash 2318
Horang2 2290
Hyuk 1057
Jaedong 886
Soma 575
firebathero 521
[ Show more ]
EffOrt 475
ZerO 471
hero 440
Mini 436
Light 408
Stork 376
Zeus 260
Hyun 258
Soulkey 230
Snow 201
actioN 187
BeSt 152
Rush 85
PianO 75
Barracks 73
ggaemo 62
Mind 58
Pusan 55
Killer 49
Sharp 42
Free 41
Aegong 41
ToSsGirL 39
Movie 35
soO 33
ajuk12(nOOB) 20
Yoon 19
Rock 17
zelot 17
scan(afreeca) 17
Sacsri 16
ivOry 14
Terrorterran 14
Shinee 14
SilentControl 11
HiyA 6
Mong 1
Dota 2
qojqva3046
Dendi879
420jenkins289
syndereN264
BananaSlamJamma259
XcaliburYe206
Counter-Strike
edward89
allub85
FunKaTv 30
Other Games
summit1g5918
singsing2564
hiko685
Hui .286
Sick162
Liquid`VortiX159
XaKoH 77
ArmadaUGS56
Mew2King52
ZerO(Twitch)17
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• poizon28 36
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2606
• Noizen32
League of Legends
• Nemesis3882
• Jankos2028
• TFBlade389
Upcoming Events
OSC
1h 7m
Tenacious Turtle Tussle
8h 7m
The PondCast
19h 7m
OSC
21h 7m
WardiTV Invitational
1d 20h
Online Event
2 days
RSL Revival
2 days
RSL Revival
2 days
WardiTV Invitational
2 days
Afreeca Starleague
3 days
Snow vs Soma
[ Show More ]
Sparkling Tuna Cup
3 days
WardiTV Invitational
3 days
CrankTV Team League
3 days
RSL Revival
4 days
Wardi Open
4 days
CrankTV Team League
4 days
Replay Cast
5 days
WardiTV Invitational
5 days
CrankTV Team League
5 days
Replay Cast
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.