adafruit / adafruit/Adafruit_nRF52_Arduino

Mouse HID Pan function doesn't work

Open
#758 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
C
Stars
699
Forks
570
PR merge metrics
No merged PRs in 30d

Description

### Operating System

Windows 10

### IDE version

Arduino 1.8.19

### Board

ItsyBitsy nRF52840 Express

### BSP version

1.3

### Sketch

The mouse hid pan function doesn't seem to be work. I tested the following code and no luck:

`blehid.mousePan(10);
delay(50);
blehid.mouseButtonRelease();`

It seems the functionality is commented in [BLEHidAdafruit.cpp](https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/libraries/Bluefruit52Lib/src/services/BLEHidAdafruit.cpp#L209) around line 209.

### What happened ?

The mouse hid pan function doesn't seem to perform any action.

### How to reproduce ?

1. Add the mouse pan action to hid example
2. Upload the code to nRF52840 board
3. Connect the board to a host device via bluetooth

### Debug Log

_No response_

### Screenshots

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in libraries/Bluefruit52Lib/src/services/BLEHidAdafruit.cpp around line 209, where the issue reports the mouse pan functionality is commented out. Reproduce the steps with the HID example on an ItsyBitsy nRF52840 Express running BSP 1.3, then verify that blehid.mousePan(10) produces a pan action over Bluetooth on the host.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.