Developer's Corner | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Search piengineering.com: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
X-keys Jog & Shuttle Pro (SE+MWII Firmware) Data ReportsGeneral Information
X-keys Jog & Shuttle Pro Input Report
Figure 1: X-keys Jog & Shuttle Pro key reference Endpoint: 1, consumer usage page MWII Report Length: 32 bytes. The following types of input reports are available; General Incoming Data and Check Key (MWII only). 1. General Incoming Data. This is received when switches are pressed, unit ID changes, Program Switch changes position.
Shuttle: This is the outside ring. 0=at rest,
1 to 7=clockwise to full right, 255 to 249=counter clockwise to full left.
If assign the output to signed type variable then –7 to 7 would be
the resulting range. X-keys Jog & Shuttle Pro Output ReportThe following types of output reports are available; Set LEDs, Set Unit ID, Set Key (MWII only), Check Key (MWII only) and Backlighting. The Unit ID is a value between 0 and 255 which can be set and read. This number stays permanently in the device independent of computer. It is useful if more than one device of the same PID will be connected to the same computer in order to distinguish the devices uniquely. The Set Key and Check Key reports are for the dongle feature, non PC users please contact P. I. Engineering for further details. Endpoint: 2, vendor defined usage page MWII Report Length: 8 bytes. 1. Set LEDs
LED: Bits 1-5=0, bit 6 = 1 to turn on the backlighting or 0 to turn off (SE only), bit 7=1 to turn on green LED or 0 to turn off green LED (both devices), bit 8=1 to turn on red LED or 0 to turn off red LED (both devices). 2. Set Unit ID*
*On MWII devices make sure the programming switch is set before sending the WriteData() command in order to write the Unit ID to the eeprom. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Home |
Products |
X-keys |
Y-mouse |
X-Blox |
OEM/DIY |
Accessories |
Software|
Developer|
Utilization|
Support |
Shopping-Cart |
Checkout |FAQ |
Site Map
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
X-keys, Y-mouse, RailDriver and The No Slogan Company are Trademarks of P.I. Engineering, Inc.
101 Innovation Parkway Williamston, MI U.S.A. 48895 1-517-655-5523 FAX: 1-517-655-4926 www.piengineering.com | www.xkeys.com | www.shipdriver.com | www.raildriver.com |
Visit Our Other Product Sites: |