Logitech G513 FN key inversion script Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
boiler
Posts: 16923
Joined: 21 Dec 2014, 02:44

Re: Logitech G513 FN key inversion script

10 Dec 2019, 17:02

I'm not able to recreate that with my keyboard (I'm on travel and away from my computer with the Logitech keyboard, which perhaps would work the same). Hopefully someone else can reproduce the issue and offer a solution.
don_dolarson
Posts: 21
Joined: 29 Oct 2019, 12:56

Re: Logitech G513 FN key inversion script

16 Jun 2020, 16:49

Hi guys, I'm back here, again. I've just tried to read an article in chrome browser on a fullscreen for the first time (F11). I've hit FN + F11, simply not the F11 key only because of the mod for inverting the FN mode for easier steering my media with a simple hit on F9, F10, F11 or F12, without the need of holding the FN button at the same time. I thought while FN keys are held it should work in the opposite, that the original function should work FN + F11 > F11, but not. Both ways work the same, they steer my media. Is there any way to fix it?

This is the mod I'm using

Code: Select all

F9::Send, {Media_Play_Pause}
F10::Send, {Media_Stop}
F11::Send, {Media_Prev}
F12::Send, {Media_Next}
PrintScreen::Send, {Volume_Mute}
ScrollLock::Send, {Volume_Down}
Pause::Send, {Volume_Up}
don_dolarson
Posts: 21
Joined: 29 Oct 2019, 12:56

Re: Logitech G513 FN key inversion script

17 Jun 2020, 18:28

I was looking for the answer myself a little bit more, and I found a key history code/script to run and check if the FN key can remap.

This is what I get when simply hit F11:

Code: Select all

7A  057	 	d	1.33	F11            	
B1  110	i	d	0.00	Media_Prev     	
B1  110	i	u	0.00	Media_Prev     	
7A  057	 	u	0.06	F11   
And this is what I get when hit FN + F11:

Code: Select all

B1  110	a	d	2.33	Media_Prev     	
B1  110	a	u	0.14	Media_Prev

I've tried to run a test script with z::Send {vkb1sc110} and z::Send {vk7asc057} but both works exactly the same.
User avatar
boiler
Posts: 16923
Joined: 21 Dec 2014, 02:44

Re: Logitech G513 FN key inversion script  Topic is solved

24 Jun 2020, 16:36

If you want the opposite to also happen, then try creating hotkeys of the opposite as well. Use the $ prefix so the keys don't trigger the other hotkey and get into an infinite loop. Not tested:

Code: Select all

$F9::Send, {Media_Play_Pause}
$F10::Send, {Media_Stop}
$F11::Send, {Media_Prev}
$F12::Send, {Media_Next}
$PrintScreen::Send, {Volume_Mute}
$ScrollLock::Send, {Volume_Down}
$Pause::Send, {Volume_Up}

$Media_Play_Pause::Send, {F9}
$Media_Stop::Send, {F10}
; etc...
don_dolarson
Posts: 21
Joined: 29 Oct 2019, 12:56

Re: Logitech G513 FN key inversion script

25 Jun 2020, 04:04

Voila. It worked. Thank you so much :wave:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: aitaixy, Anput, dangoscrub, doodles333, joedf, Nerafius and 119 guests