Developer's Corner | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Search piengineering.com: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
X-keys Switch Interface (SE+MWII Firmware) Data ReportGeneral Information
X-keys Switch Interface Input Report
Figure 1: X-keys Switch Interface 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.
State: 0 for key up, 1 for key down. X-keys Switch Interface Output ReportThe following types of output reports are available; Set LEDs, Set Unit ID, Set Key (MWII only), Check Key (MWII only). 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 of this feature please contact P. I. Engineering for further details. Individual key backlighting control is available on the X-keys Stick. 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 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: |