Developer's Corner | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Search piengineering.com: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
X-keys Professional (SE+MWII Firmware) Data ReportsGeneral Information
X-keys Pro Input Report
Figure 1: X-keys 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). Const stands for Constant. 1. General Incoming Data. This is received when switches are pressed, unit ID changes, Program Switch changes position.
D1: For all bits 0 if key is up, 1 if key is down.
Bits 1 to 7 correspond to Keys 0 to 6, respectively. Bit 8=0 always. X-keys Pro Output ReportThe following types of output reports are available; Set LEDs, Set Unit ID, Set Key (MWII only) and Check Key (MWII). 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-6=0, bit 7=1 to turn on green LED or 0 to turn off green LED, bit 8=1 to turn on red LED or 0 to turn off red LED. 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: |