GPM
Inherits Reference / Object
Constants
LE = IO::ByteFormat::LittleEndian
MAGIC = 1198550348_u32
SOCKET = "/dev/gpmctl"
USE_MAGIC = false
VERSION = "1.0.5"
Constructors
new(file : String = SOCKET, use_magic : Bool = USE_MAGIC, magic : UInt32 = MAGIC)
SourceInstance methods
config
Sourceconfig=(config : Config)
Sourcefile
Sourcefile=(file : String)
Sourceget_event(raw = @socket)
Sourcemagic
Sourcemagic=(magic : UInt32)
Sourcesend_config(config = @config, socket = @socket)
Sourcesocket
Sourcesocket=(socket : UNIXSocket)
Sourcestop
Sourceuse_magic
Sourceuse_magic=(use_magic : Bool)
Source