lib/device_input/codes.rb in device_input-0.0.3.1 vs lib/device_input/codes.rb in device_input-0.1.0.1
- old
+ new
@@ -1,10 +1,13 @@
module DeviceInput
CODES = {}
# type = Sync
CODES[0] = {
- 0 => 'Sync',
+ 0 => ['SYN_REPORT', 'Report'],
+ 1 => ['SYN_CONFIG', 'Config'],
+ 2 => ['SYN_MT_REPORT', 'Multitouch'],
+ 3 => ['SYN_DROPPED', 'Desync'],
}
# type = Key
CODES[1] = {
0 => 'Reserved',