2024年3月10日发(作者:聊之双)
API 参考文档
V8.50
预览与概述
Logitech G-series Lua
1
目录
目录 ..................................................................................................................................................................... 2
OnEvent ............................................................................................................................................................... 3
GetMKeyState ..................................................................................................................................................... 5
SetMKeyState ...................................................................................................................................................... 6
Sleep .................................................................................................................................................................... 7
OutputLogMessage ............................................................................................................................................. 8
ClearLog ............................................................................................................................................................... 9
GetRunningTime ................................................................................................................................................ 10
GetDate ............................................................................................................................................................. 11
PressKey ............................................................................................................................................................ 12
13
14
PressMouseButton ............................................................................................................................................ 15
ReleaseMouseButton ........................................................................................................................................ 16
PressAndReleaseMouseButton ......................................................................................................................... 17
18
IsModifierPressed .............................................................................................................................................. 19
IsKeyLockOn ...................................................................................................................................................... 20
MoveMouseTo .................................................................................................................................................. 21
MoveMouseWheel ............................................................................................................................................ 22
MoveMouseRelative ......................................................................................................................................... 23
MoveMouseToVirtual ........................................................................................................................................ 24
GetMousePosition ............................................................................................................................................. 25
OutputLCDMessage ........................................................................................................................................... 26
ClearLCD ............................................................................................................................................................ 27
PlayMacro .......................................................................................................................................................... 28
AbortMacro ....................................................................................................................................................... 29
SetBacklightColor .............................................................................................................................................. 30
OutputDebugMessage ....................................................................................................................................... 31
SetMouseDPITable ............................................................................................................................................ 32
SetMouseDPITableIndex ................................................................................................................................... 33
EnablePrimaryMouseButtonEvents .................................................................................................................. 34
G13 可编程按键 ............................................................................................................................................... 35
标准 Lua 5.1 库 ................................................................................................................................................ 38
附录 A ............................................................................................................................................................... 39
2
2024年3月10日发(作者:聊之双)
API 参考文档
V8.50
预览与概述
Logitech G-series Lua
1
目录
目录 ..................................................................................................................................................................... 2
OnEvent ............................................................................................................................................................... 3
GetMKeyState ..................................................................................................................................................... 5
SetMKeyState ...................................................................................................................................................... 6
Sleep .................................................................................................................................................................... 7
OutputLogMessage ............................................................................................................................................. 8
ClearLog ............................................................................................................................................................... 9
GetRunningTime ................................................................................................................................................ 10
GetDate ............................................................................................................................................................. 11
PressKey ............................................................................................................................................................ 12
13
14
PressMouseButton ............................................................................................................................................ 15
ReleaseMouseButton ........................................................................................................................................ 16
PressAndReleaseMouseButton ......................................................................................................................... 17
18
IsModifierPressed .............................................................................................................................................. 19
IsKeyLockOn ...................................................................................................................................................... 20
MoveMouseTo .................................................................................................................................................. 21
MoveMouseWheel ............................................................................................................................................ 22
MoveMouseRelative ......................................................................................................................................... 23
MoveMouseToVirtual ........................................................................................................................................ 24
GetMousePosition ............................................................................................................................................. 25
OutputLCDMessage ........................................................................................................................................... 26
ClearLCD ............................................................................................................................................................ 27
PlayMacro .......................................................................................................................................................... 28
AbortMacro ....................................................................................................................................................... 29
SetBacklightColor .............................................................................................................................................. 30
OutputDebugMessage ....................................................................................................................................... 31
SetMouseDPITable ............................................................................................................................................ 32
SetMouseDPITableIndex ................................................................................................................................... 33
EnablePrimaryMouseButtonEvents .................................................................................................................. 34
G13 可编程按键 ............................................................................................................................................... 35
标准 Lua 5.1 库 ................................................................................................................................................ 38
附录 A ............................................................................................................................................................... 39
2