summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/joystick.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/joystick.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/joystick.h')
-rw-r--r--include/arch/x86_64/linux/joystick.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/arch/x86_64/linux/joystick.h b/include/arch/x86_64/linux/joystick.h
index 6d607c18..8f09200d 100644
--- a/include/arch/x86_64/linux/joystick.h
+++ b/include/arch/x86_64/linux/joystick.h
@@ -52,10 +52,9 @@ struct js_event {
#define JSIOCGVERSION _IOR('j', 0x01, __u32) /* get driver version */
-#define JSIOCGAXES _IOR('j', 0x11, __u8) /* get number of axes */
-#define JSIOCGBUTTONS _IOR('j', 0x12, __u8) /* get number of buttons */
-#define JSIOCGNAME(len) \
- _IOC(_IOC_READ, 'j', 0x13, len) /* get identifier string */
+#define JSIOCGAXES _IOR('j', 0x11, __u8) /* get number of axes */
+#define JSIOCGBUTTONS _IOR('j', 0x12, __u8) /* get number of buttons */
+#define JSIOCGNAME(len) _IOC(_IOC_READ, 'j', 0x13, len) /* get identifier string */
#define JSIOCSCORR _IOW('j', 0x21, struct js_corr) /* set correction values */
#define JSIOCGCORR _IOR('j', 0x22, struct js_corr) /* get correction values */