mirror of
https://github.com/mfulz/qmk_firmware.git
synced 2025-07-18 11:25:17 +02:00

add documentation for HID joystick Add joystick_task to read analog axes values even when no key is pressed or release. update doc Update docs/feature_joystick.md Manage pin setup and read to maintain matrix scan after analog read
13 lines
251 B
C
13 lines
251 B
C
#ifndef PROCESS_JOYSTICK_H
|
|
#define PROCESS_JOYSTICK_H
|
|
|
|
#include <stdint.h>
|
|
#include "quantum.h"
|
|
|
|
bool process_joystick(uint16_t keycode, keyrecord_t *record);
|
|
|
|
void joystick_task(void);
|
|
|
|
bool process_joystick_analog(void);
|
|
|
|
#endif //PROCESS_JOYSTICK_H
|