aboutsummaryrefslogtreecommitdiff
path: root/tt.keyboard.ahk
blob: cb3ed338120e1b3fbe90d3aadb05e55bca7bacf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
;; Fujitsu FKB8530 mappings ---------------------------------------------------

;; -> library

Modifiers() {
	s := ""
	if (GetKeyState("Shift"))
		s .= "{Shift down}"
	if (GetKeyState("Ctrl"))
		s .= "{Ctrl down}"
	if (GetKeyState("Alt"))
		s .= "{Alt down}"
	return s
}

;; -> body

^<::^y
*#BackSpace::Delete
#F9::PrintScreen
#F12::Insert
<^>!<::|

*#h::SendInput, % Modifiers() "{Left down}"
#h Up::SendInput, {Left up}
*#j::SendInput, % Modifiers() "{Down down}"
#j Up::SendInput, {Down up}
*#k::SendInput, % Modifiers() "{Up down}"
#k Up::SendInput, {Up up}
*#l::SendInput, % Modifiers() "{Right down}"
#l Up::SendInput, {Right up}

*#y::SendInput, % Modifiers() "{Home down}"
#y Up::SendInput, {Home up}
*#u::SendInput, % Modifiers() "{PgDn down}"
#u Up::SendInput, {PgDn up}
*#i::SendInput, % Modifiers() "{PgUp down}"
#i Up::SendInput, {PgUp up}
*#o::SendInput, % Modifiers() "{End down}"
#o Up::SendInput, {End up}