mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-14 06:39:16 +02:00
- Additional refinements for Apple and Win keyboards for ahk
This commit is contained in:
@@ -31,10 +31,10 @@ GroupAdd, vscode, ahk_exe Code.exe
|
||||
*tab::
|
||||
{
|
||||
if (GetKeyState("LCtrl", "P") AND GetKeyState("LShift", "P") = false) {
|
||||
Send {LAlt up}{LCtrl down}{tab}
|
||||
Send {LCtrl down}{LAlt up}{tab}
|
||||
KeyWait, tab
|
||||
} else if (GetKeyState("LCtrl", "P") AND GetKeyState("LShift", "P")) {
|
||||
Send {LAlt up}{LShift down}{LCtrl down}{tab}
|
||||
Send {LCtrl down}{LAlt up}{LShift down}{tab}
|
||||
KeyWait, tab
|
||||
; } else if (GetKeyState("Primary", "P") AND GetKeyState("LShift", "P") = false) {
|
||||
} else if (GetKeyState("LWin", "P") AND GetKeyState("LShift", "P") = false) {
|
||||
@@ -42,14 +42,22 @@ GroupAdd, vscode, ahk_exe Code.exe
|
||||
KeyWait, tab
|
||||
; } else if (GetKeyState("Primary", "P") AND GetKeyState("LShift", "P")) {
|
||||
} else if (GetKeyState("LWin", "P") AND GetKeyState("LShift", "P")) {
|
||||
Send {LShift down}{LAlt down}{tab}
|
||||
Send {LAlt down}{LShift down}{tab}
|
||||
KeyWait, tab
|
||||
; } else if (GetKeyState("Secondary", "P") AND GetKeyState("LShift", "P") = false) {
|
||||
} else if (GetKeyState("LAlt", "P") AND GetKeyState("LShift", "P") = false) {
|
||||
return
|
||||
; ; } else if (GetKeyState("Secondary", "P") AND GetKeyState("LShift", "P")) {
|
||||
} else if (GetKeyState("LAlt", "P") AND GetKeyState("LShift", "P")) {
|
||||
return
|
||||
} else {
|
||||
send {Blind}{tab}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
tab::Send {tab}
|
||||
|
||||
; Basic Remap
|
||||
;
|
||||
; Primary::LCtrl
|
||||
@@ -68,7 +76,7 @@ $LCtrl up::Send {Ctrl down}{LWin up}{Ctrl up}
|
||||
; Primary up::Send {LAlt up}{LCtrl up}
|
||||
$LWin up::Send {LWin up}{LAlt up}{LCtrl up}
|
||||
|
||||
; Close Apps
|
||||
; Close Apps
|
||||
^q::Send !{F4}
|
||||
|
||||
; Emoji Panel
|
||||
|
Reference in New Issue
Block a user