forked from k-ayaki/benizara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test2.ahk
35 lines (31 loc) · 791 Bytes
/
test2.ahk
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
hotkey,*sc07B,gSC07B ;
hotkey,*sc07B up,gSC07Bup
hotkey,*sc079,gSC079 ;
hotkey,*sc079 up,gSC079up
hotkey,*sc07B,on
hotkey,*sc07B up,on
hotkey,*sc079,on
hotkey,*sc079 up,on
SetTimer,Interrupt10,10
return
#include IME.ahk
gSC07B:
gSC079:
return
gSC07Bup:
gSC079up:
return
1::
return
;----------------------------------------------------------------------
; 10[mSEC]ごとの割込処理
;----------------------------------------------------------------------
Interrupt10:
;_tmpL := DllCall("GetKeyState", "UInt", 0x1D)
;_tmpR := DllCall("GetKeyState", "UInt", 0x1C)
_tmpL := GetKeyState("vk1D","P")
_tmpR := GetKeyState("vk1C","P")
vImeMode := IME_GET() & 32767
vImeConvMode :=IME_GetConvMode()
Tooltip, %vImeMode% %vImeConvMode%, 0, 0, 2 ; debug
return