Skip to content

A HID Mouse Project for the STM32F3 Discovery board.

Notifications You must be signed in to change notification settings

tedeum/STM32F3-Mouse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

STM32F3-Mouse

A HID Mouse Project for the STM32F3 Discovery board.

It utilizes the accelorometer for XY movement and the USER button for left clicking.

Features

  • XY Movement
  • Left Clicking/Dragging
  • Only polls when changes are present

Usage

  • IDE: Edit with Atollic TrueSTUDIO for ARM LITE (free)
  • Plug in USB cable to USB ST-LINK port on board to program then plug in another USB into the USB USER port (only need USB USER port once done programming)

HID Spec

Byte Bit Description
0 0 Left Click
0 1 Right Click
0 2 Middle Click
0 4-7 Device-specific
1 0-7 X displacement
2 0-7 Y displacement
3-n 0-7 Device specific (optional)
Source: (page 61)

Other Info

This project was based off of the USB_Example from STM32F3 Firmware download.

About

A HID Mouse Project for the STM32F3 Discovery board.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.9%
  • HTML 2.9%
  • C++ 2.8%
  • Assembly 0.4%