This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| rawmode [2026/01/23 20:34] – created eric | rawmode [2026/06/23 19:44] (current) – eric | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Raw Mode | + | ===== Raw Mode ===== |
| + | |||
| + | Raw Mode allows a developer to use BLE to connect to the Twiddler 4 to directly receive button and nav information to develop other applications or implementations not already offered by the Twiddler. | ||
| + | |||
| + | To enable Raw Mode, | ||
| + | |||
| + | * Ensure your Twiddler 4 is running [[twiddler_firmware|firmware 3.8.0]] or later | ||
| + | * Connect your Twiddler 4 to USB, and open [[t4_settingstxt|SETTINGS.TXT]] | ||
| + | * Add a line '' | ||
| + | * Save the file | ||
| + | * Disconnect from USB | ||
| + | |||
| + | To disable Raw Mode, | ||
| + | |||
| + | * Connect your Twiddler 4 to USB, and open settings.txt | ||
| + | * Find the line rawmode=1 and change to value to '' | ||
| + | * Save the file | ||
| + | * Disconnect from USB | ||
| + | |||
| + | ===== Usage ===== | ||
| + | Connect to the Twiddler 4 ('' | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | Buttons states are represented in a 4-byte report, the first 20 bits represent the Twiddler 4's 20 buttons. | ||
| + | Trackpad X-Y swipe directions are represented by two signed bytes. | ||
| + | |||
| - | Raw Mode allows a developer to use BLE to connect to the Twiddler 4 | ||