Rename global device state field

This commit is contained in:
Patrick Moessler 2020-10-31 00:47:40 +01:00
parent d4412837ab
commit e47045c47a

View file

@ -12,7 +12,7 @@ class Packet:
SET_CONTROL = 0x40
CONTROL = 0x41
SET_EFFECT_STATE = 0x42
SET_DEVICE_STATE = 0x42
SET_OVERALL = 0x43
QUERY = 0xFF
@ -23,7 +23,7 @@ class Packet:
EFFECT_STATES,
SET_CONTROL,
CONTROL,
SET_EFFECT_STATE,
SET_DEVICE_STATE,
SET_OVERALL,
QUERY
]
@ -41,6 +41,10 @@ class ControlType:
class OverallControlType:
GAIN = 0x00
class DeviceState:
PAUSE_FFB = 0x08
ENABLE_FFB = 0x04
STOP_ALL = 0x01
class Query:
# Queries