The other required set of changes

As per the PR, the changes still holding it up.
Add onekey for testing.
Fix ARM builds.
Fix device descriptor when either axes or buttons is zero.
Add compile-time check for at least one axis or button.
Move definition to try to fix conflict.
PR review comments.
qmk cformat
This commit is contained in:
Nick Brassel 2020-01-10 06:29:34 +11:00 committed by a-chol
parent d88bdc6a1b
commit 801be60473
18 changed files with 455 additions and 458 deletions

View file

@ -1,5 +1,4 @@
#ifndef PROCESS_JOYSTICK_H
#define PROCESS_JOYSTICK_H
#pragma once
#include <stdint.h>
#include "quantum.h"
@ -10,5 +9,3 @@ void joystick_task(void);
bool process_joystick_analogread(void);
bool process_joystick_analogread_quantum(void);
#endif //PROCESS_JOYSTICK_H