Skip to content

Instantly share code, notes, and snippets.

@navhaxs
Last active December 6, 2023 04:45
Show Gist options
  • Save navhaxs/5bd16258f5383db3e941eb25377e3bff to your computer and use it in GitHub Desktop.
Save navhaxs/5bd16258f5383db3e941eb25377e3bff to your computer and use it in GitHub Desktop.
;#NoTrayIcon
;#SingleInstance force
;#Persistent
;#InstallKeybdHook
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Logitech T650 mappings for Windows 10.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Requires SetPoint to be installed AND running.
;
; Comment out any conflicting hotkeys that you actually use.
; Fortunately, Logitech sends *numpad arrow keys* rather than normal arrow keys
; which aren't commonly used commonly, so we can easily override most of them without
; too much conflict with normal keyboard usage.
; Four finger swipe left ---> Virtual Desktop Switch Left
<#NumpadLeft::
Send {LWin down}{LCtrl down}{Left}{LWin up}{LCtrl up}
Return
; Four finger swipe right ---> Virtual Desktop Switch Right
<#NumpadRight::
Send {LWin down}{LCtrl down}{Right}{LWin up}{LCtrl up}
Return
; Four finger swipe up ---> Task View
; (only works when active window is NOT minimised)
<#NumpadUp::
Send {LWin down}{Tab down}{LWin up}{Tab up}
Return
; Uncomment if you want to override Win + D
; Thee finger swipe down --> Task View
; (I can't seem to catch four finger down)
;<#d::
; Send {LWin down}{Tab down}{LWin up}{Tab up}
; Return
; One finger from right edge in
; Notification Centre
<#c::
Send {LWin down}{a}{LWin up}
Return
@navhaxs
Copy link
Author

navhaxs commented Jan 21, 2018

@dAKirby309 commenting on github gist pages don't actually generate notifications :/

But to answer your question, I used https://autohotkey.com/docs/commands/KeyHistory.htm to monitor what keys SetPoint was sending

@titwozzang
Copy link

can I get the document for other variable(<#NumpadDown etc.)?

@DanLilie
Copy link

Hey Navhaxs,

thanks for the work, but unfortunately the script isn't working anymore. I downloaded autohotkey and run the script but no changes at all. The gestures simply don't work and if I open setpoint I also cannot see advanced option. May you can advise, if there is still a chance to make it work?

Many thanks in advance,
BR Dan

@DanLilie
Copy link

Okay I needed to activate the compatible mode for SetPoint to win7 to make it working. Anyhow, would it be possible to put the shift between the virtual desktop to the three finger gestures? I'm to stupid to manage the four finger swipe, thus I tried to edit your script but it wasn't working.

If you have any advise, please let me know.
BR Dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment