User Tools

Site Tools


hid_packet_parser_js

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
hid_packet_parser_js [2017/07/30 15:47]
be.ing [HIDPacket object]
hid_packet_parser_js [2018/12/27 10:46] (current)
xerus [Supported HID input field types]
Line 20: Line 20:
 ===== Supported HID input field types ===== ===== Supported HID input field types =====
 The current Mixxx JavaScript implementation for HID input packets supports following types of fields in the parser: The current Mixxx JavaScript implementation for HID input packets supports following types of fields in the parser:
-  * One byte signed or unsigned numeric value (packing codes and B) +| unsigned/​signed byte                    | 
-  * Two byte signed and unsgined numeric ​value (packing codes h and H+| h / H | unsigned/​signed two byte value (short | 
-  * Four byte signed and unsigned numeric ​value (packing codes i and I) +| i / I | unsigned/​signed four byte value (int  |
-  * Parsing of bit mask fields from one packet of above sizes+
  
 The bit mask fields are implemented as normal numeric value field, which has type bitvector and which has value of internal class HIDBitVector. Any bit mask size from 1 to number of bytes in the field is supported, but usually you want to address one bit for input button toggles. The bit mask fields are implemented as normal numeric value field, which has type bitvector and which has value of internal class HIDBitVector. Any bit mask size from 1 to number of bytes in the field is supported, but usually you want to address one bit for input button toggles.
hid_packet_parser_js.txt · Last modified: 2018/12/27 10:46 by xerus