Issues remapping "copilot" key on new keyboard

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
elminster
Posts: 2
Joined: 08 Mar 2024, 15:07

Issues remapping "copilot" key on new keyboard

08 Mar 2024, 15:28

I have a lenovo yoga book which came with a wireless keyboard. There is a 'copilot' key where the right ctrl key should be. It seems like on key press it sends multiple keys, though they key itself looks like F23.

I re-mapped F23 to RCtrl:

F23::RCtrl

But when I press the key and look at the key history, I see what looks like multiple keypresses:

A0 02A u 0.09 LShift
5B 15B u 0.00 LWin
86 06E h u 0.00 F23
A3 11D i u 0.00 RControl

All 4 keys show for every time I press this key. I want the key to simply behave as RCtrl, which makes me think I need to map F23+LShift+LWin as a combo to be RCtrl, but I don't know how to go about doing this?

They keyboard: https://i.imgur.com/T3oOydh.png
elminster
Posts: 2
Joined: 08 Mar 2024, 15:07

Re: Issues remapping "copilot" key on new keyboard

08 Mar 2024, 15:48

Just to give it a shot I did try chatgpt for some suggestions, and tried the following (which also had me use v1, though no luck with either of these attempts):

Code: Select all

LShift & LWin & F23::Send {RCtrl}

<^<#F23::Send {RCtrl}
[Mod edit: Added [code][/code] tags.]
dijek
Posts: 5
Joined: 10 Nov 2023, 00:15

Re: Issues remapping "copilot" key on new keyboard

30 Apr 2024, 08:33

I don't know if you ever got this working, but I had recently tried to do the same thing, and I managed to get it working using the following hotkeys:

Code: Select all

<+<#f23::Send "{Blind}{LShift Up}{LWin Up}{RControl Down}"
<+<#f23 Up::Send "{RControl Up}"
If you don't need this anymore, I hope it could help someone else trying to do this in the future.

[Mod edit: Added [code][/code] tags.]

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: kunkel321, songdg and 47 guests