diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 14:12:46 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 14:12:46 +0100 |
| commit | 4820db86224dcc288106690fff7fc09b574c6ad4 (patch) | |
| tree | ae36e8bf9bd3ac864a4ebff171ff093d9cb0c5bd | |
| parent | Empty signed commit (diff) | |
| download | libgamepad-4820db86224dcc288106690fff7fc09b574c6ad4.tar.gz libgamepad-4820db86224dcc288106690fff7fc09b574c6ad4.tar.bz2 libgamepad-4820db86224dcc288106690fff7fc09b574c6ad4.tar.xz | |
m fixes
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | LICENSE | 2 | ||||
| -rw-r--r-- | README | 19 | ||||
| -rw-r--r-- | libgamepad.h | 6 |
3 files changed, 15 insertions, 12 deletions
@@ -1,6 +1,6 @@ ISC License -© 2022 Mattias Andrée <maandree@kth.se> +© 2022 Mattias Andrée <m@maandree.se> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -5,14 +5,14 @@ DESCRIPTION libgamepad is a C library that implements game controller support. libgamepad implements not only reading input and applying force feedback, but also provides controller - information such as layout details, canoncial button names, + information such as layout details, canonical button names, button icons, button colours, and conformity to well known - controller schemes, and applies fixes such as remapping buttons - and axes, and removing non-existent ones, correct axes - information, and apply calibrations, it even lets you - implement userspace drivers (however input reading only) if - kernel drivers are missing or lacking, as long as a hidraw - input device is available. + controller schemes. It also applies fixes such as remapping + buttons and axes, removing non-existent ones, correcting + axis information, and applying calibrations. It even lets + you implement userspace drivers (however input reading only) + if kernel drivers are missing or lacking, as long as a + hidraw input device is available. Games for video gaming consoles know in advance how the game controller is supposed to look for the platform it is @@ -20,5 +20,8 @@ DESCRIPTION and can therefore not display an image of your controller, tell you the names or colours, or display icons, for which buttons to press. libgamepad aims to solve this, and make - controllers appears almost as native to PCs as to video + controllers appear almost as native to PCs as to video gaming consoles. + +SEE ALSO + None. diff --git a/libgamepad.h b/libgamepad.h index f77e16b..d3609b6 100644 --- a/libgamepad.h +++ b/libgamepad.h @@ -1487,7 +1487,7 @@ struct libgamepad_superdevice { struct libgamepad_device { /** * File descriptor to the device, the application - * may use it to poll for read-readyness + * may use it to poll for read readiness */ int fd; @@ -1499,7 +1499,7 @@ struct libgamepad_device { int auto_sync; /** - * Bus type the device is connect via, see BUS_-prefixed + * Bus type the device is connected via, see BUS_-prefixed * constants in <linux/input.h> */ unsigned int bus_type; @@ -1532,7 +1532,7 @@ struct libgamepad_device { char *name; /** - * ID that is supposted to be unique to the device + * ID that is supposed to be unique to the device * (sub- or superdevice) * * Empty if not available |
