I want to make my touchpad right click as left click
-
- Posts: 4
- Joined: 10 Dec 2022, 13:33
- Contact:
I want to make my touchpad right click as left click
As the title suggests. I want to make my touchpad right click functions as left click, but it can still access the right click menu via two-finger click, just like how it's the default behavior on Macs. Any idea how to achieve this? any help or advice are appreciated, thanks.
Re: I want to make my touchpad right click as left click
Hi.
If the key is not standard, with the following script you can find out the code of that key. Then it's a matter of reassigning it another function.
If the key is not standard, with the following script you can find out the code of that key. Then it's a matter of reassigning it another function.
Code: Select all
SetFormat, Integer, Hex
Gui +ToolWindow -SysMenu +AlwaysOnTop
Gui, Font, s14 Bold, Arial
Gui, Add, Text, w100 h33 vSC 0x201 +Border, {SC000}
Gui, Show,, % "// ScanCode //////////"
Loop 9
OnMessage( 255+A_Index, "ScanCode" ) ; 0x100 to 0x108
Return
ScanCode( wParam, lParam ) {
Clipboard := "SC" SubStr((((lParam>>16) & 0xFF)+0xF000),-2)
GuiControl,, SC, %Clipboard%
}
Re: I want to make my touchpad right click as left click
I think the issue is that both RButton and the two-finger tap generate a right click. Although RButton can be remapped, I am not aware of a way to remap the two actions differently. I have read that Windows controls this aspect of the touchpad, but perhaps someone knows a way around it. You may want to have a look at AutoHotInterception.
-
- Posts: 4
- Joined: 10 Dec 2022, 13:33
- Contact:
Re: I want to make my touchpad right click as left click
Yeah I knew the crazy script to find out unknown key thing but the problem is, they are both the same (from right clicking and double tapping)wetware05 wrote: ↑10 Dec 2022, 16:16Hi.
If the key is not standard, with the following script you can find out the code of that key. Then it's a matter of reassigning it another function.
Code: Select all
SetFormat, Integer, Hex Gui +ToolWindow -SysMenu +AlwaysOnTop Gui, Font, s14 Bold, Arial Gui, Add, Text, w100 h33 vSC 0x201 +Border, {SC000} Gui, Show,, % "// ScanCode //////////" Loop 9 OnMessage( 255+A_Index, "ScanCode" ) ; 0x100 to 0x108 Return ScanCode( wParam, lParam ) { Clipboard := "SC" SubStr((((lParam>>16) & 0xFF)+0xF000),-2) GuiControl,, SC, %Clipboard% }
-
- Posts: 4
- Joined: 10 Dec 2022, 13:33
- Contact:
Re: I want to make my touchpad right click as left click
Thanks I will look into it
Who is online
Users browsing this forum: No registered users and 199 guests