phil294 / AHK_X11

AutoHotkey for Linux (X11-based systems)
GNU General Public License v2.0
815 stars 15 forks source link

'XButton2' key mapping not working. #48

Closed Shringe closed 1 year ago

Shringe commented 1 year ago

I can't rebind XButton2(mouse 5) using 'XButton2::', it just doesn't get picked up. XButton1(mouse 4) works just fine though.

Here is the script: Script.ahk:

; doesn't get picked up
XButton2::
    Send, mouse5
Return

; works just fine
XButton1::
    Send, mouse4
Return

I'm rusty with AHK, so sorry if its just a syntax error.

phil294 commented 1 year ago

thanks for reporting this. should be fixed now.