diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-08-28 15:16:12 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-08-28 15:30:25 +0100 |
commit | e35cff6d299a07d9b34f303717083a9299a37e82 (patch) | |
tree | 7204099ad4978dfc67e04bc11df29d0f366af851 /include/ubox_joy.h | |
download | uboxlib-dos-e35cff6d299a07d9b34f303717083a9299a37e82.tar.gz uboxlib-dos-e35cff6d299a07d9b34f303717083a9299a37e82.zip |
Initial import
Diffstat (limited to 'include/ubox_joy.h')
-rw-r--r-- | include/ubox_joy.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ubox_joy.h b/include/ubox_joy.h new file mode 100644 index 0000000..002b58e --- /dev/null +++ b/include/ubox_joy.h @@ -0,0 +1,10 @@ +#ifndef _UBOX_JOY_H +#define _UBOX_JOY_H + +/* it also calibrates */ +uint8_t ubox_joy_detect(); + +/* returns the bits specified in ubox_control.h */ +uint8_t ubox_joy_read(); + +#endif /* _UBOX_JOY_H */ |