Skip to content

Extension Mouse

Matthew Splett edited this page Jan 15, 2020 · 5 revisions

Mouse Extension

The mouse extension can be accessed by sending the TIPI a single byte message containing the mouse extension token: 0x20. The entire message is just that byte:

0x20

The response message will be a 3 byte message, containing the x delta, y delta, and button state. An example response:

0x02, 0xFE, 0x01

To determine which button is pressed, check for the following bits to be set in buttons:

bit button
0x01 left
0x02 middle
0x04 right

Compatible Software

  • TI Artist Plus - downloads - A mouse driver for TI Artist Plus, binary and readme to describe installation.

Example software

gcc mousedemo - github/tipi/examples/mouse

asm ti artist - github/tipi/examples/tiartist

XB library - tipi-xb-mouse

Clone this wiki locally