• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:43
CEST 20:43
KST 03:43
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris31Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Aligulac - Europe takes the podium A Eulogy for the Six Pool Geoff 'iNcontroL' Robinson has passed away Weekly Cups (Aug 18-24): herO dethrones MaxPax 2v2 & SC: Evo Complete: Weekend Double Feature
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Maestros of The Game—$20k event w/ live finals in Paris Esports World Cup 2025 WardiTV Mondays RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
ASL20 - worst advertising ever... BGH Auto Balance -> http://bghmmr.eu/ ASL Season 20 Ro24 Groups Flash On His 2010 "God" Form, Mind Games, vs JD No Rain in ASL20?
Tourneys
[ASL20] Ro24 Group F [ASL20] Ro24 Group D [Megathread] Daily Proleagues [IPSL] CSLAN Review and CSLPRO Reimagined!
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1222 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 5h 17m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 488
UpATreeSC 104
ProTech98
BRAT_OK 74
goblin 52
MindelVK 24
StarCraft: Brood War
Britney 26179
Calm 3373
Bisu 756
Larva 312
Shuttle 173
Dewaltoss 137
Mong 114
Soulkey 93
Hyuk 80
Killer 33
[ Show more ]
JYJ32
Aegong 26
Rock 24
ajuk12(nOOB) 21
soO 20
Sacsri 12
HiyA 12
NaDa 6
Beast 2
Dota 2
Fuzer 282
LuMiX1
Counter-Strike
fl0m4273
flusha250
Heroes of the Storm
Liquid`Hasu165
Other Games
Grubby1397
FrodaN929
RotterdaM377
Lowko329
IndyStarCraft 150
markeloff66
QueenE53
C9.Mang048
Trikslyr45
trigger1
fpsfer 1
Organizations
StarCraft 2
angryscii 26
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Reevou 1
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Pr0nogo 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• TFBlade863
Counter-Strike
• imaqtpie728
• Shiphtur148
Other Games
• WagamamaTV383
Upcoming Events
Replay Cast
5h 17m
The PondCast
15h 17m
WardiTV Summer Champion…
16h 17m
herO vs MaxPax
Clem vs Classic
Replay Cast
1d 5h
LiuLi Cup
1d 16h
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
Cosmonarchy
1d 21h
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
2 days
Team Hawk vs Team Dewalt
BSL Team Wars
2 days
Team Hawk vs Team Bonyth
SC Evo League
2 days
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
2 days
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[ Show More ]
[BSL 2025] Weekly
2 days
SC Evo League
3 days
Maestros of the Game
3 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
4 days
Team Bonyth vs Team Sziky
BSL Team Wars
4 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
4 days
Replay Cast
5 days
Sparkling Tuna Cup
5 days
Liquipedia Results

Completed

CSLAN 3
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
WardiTV Summer 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 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.