espp/joystick

0.21.0

uploaded 1 day ago
Joystick component for ESP-IDF

readme

# Joystick Component

The `Joystick` class provides a wrapper around a 2-axis analog joystick, with an
associated reader function for grabbing the raw values. When the joystick
`update()` is called, the raw values are mapped into the range `[-1,1]` for each
axis according to the configuration provided.

## Example

The [example](./example) shows the use of the `Joystick` class to manage the
input from and perform mapping / calibration of joystick data from an analog
joystick.

Links

Supports all targets

Maintainer

  • William Emfinger <waemfinger@gmail.com>

License: MIT

To add this component to your project, run:

idf.py add-dependency "espp/joystick^0.21.0"

or download archive

Stats

  • Archive size
    Archive size ~ 12.71 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

espp/joystick version: 0.21.0
|