/bt-usb-hid

Simple HID Link

Primary LanguageJavaScript

EARLY PROTO/DRAFT :)

Simple Mouse

A small post about the project can be found here

This project contains firmware to make a bridge between a standard USB HID mouse and a very simplified BLE GATT service.

The GATT service exposes characteristics to control mouse movement and button presses.

Besides the main example web app, there is also a very simple example web application that creates a feedback from keyboard key presses over BLE GATT, resulting in mouse movements/button presses:

  • A,S,D,W = movement
  • 1,2,3 = left, middle, right buttons

Flashing hardware

  • Install nrfutil (see here).
  • Download the latest release zip file from here
  • Insert the dongle, press the tiny side/DFU button to enable DFU mode (board starts flashing red) and write:
nrfutil dfu serial -pkg SimpleMouse_nRF52840Dongle.zip -p /dev/ttyACM0

NOTE: /dev/ttyACM0 might be named different on your system (see the zephyr documentation linked above for nrfutil)