Nayel
Nayel
DIIDevHeads IoT Integration Server
Created by melta101 on 7/31/2024 in #middleware-and-os
How to convert relative cursor movement to absolute position for BLE HID using Zephyr?
This changes the X and Y fields to 16-bit absolute values with a range of 0-32767. Update your firmware implementation: You'll need to maintain the current cursor position in your device's memory. When you receive input from the console, instead of sending relative movement, you'll send the new absolute position. Here's a basic example of how you might implement this in your firmware:
15 replies