Skip to content

Instantly share code, notes, and snippets.

View Oxore's full-sized avatar

Vladimir Novikov Oxore

  • Saint Petersburg, Russia
View GitHub Profile
@Oxore
Oxore / joystick.c
Last active January 2, 2022 00:02 — forked from jasonwhite/joystick.c
Reads joystick/gamepad events on Linux and displays them.
/**
* Author: Jason White, Oxore (Vladimir Novikov)
*
* Description:
* Reads joystick/gamepad events and displays them.
*
* This is a modified version of the original program. The changes introduced
* make the program trace axes movement separately (not in pairs like `(x, y)`)
* and support any number of axes the device would report.
*