forked from mfulz_github/qmk_firmware

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
12 lines
234 B
C
12 lines
234 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include "quantum.h"
|
|
|
|
bool process_joystick(uint16_t keycode, keyrecord_t *record);
|
|
|
|
void joystick_task(void);
|
|
|
|
bool process_joystick_analogread(void);
|
|
bool process_joystick_analogread_quantum(void);
|