mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
14 lines
442 B
C
14 lines
442 B
C
|
#include "joystick.h"
|
||
|
|
||
|
joystick_t joystick_status = {.buttons = {0},
|
||
|
.axes =
|
||
|
{
|
||
|
#if JOYSTICK_AXES_COUNT > 0
|
||
|
0
|
||
|
#endif
|
||
|
},
|
||
|
.status = 0};
|
||
|
|
||
|
// array defining the reading of analog values for each axis
|
||
|
__attribute__((weak)) joystick_config_t joystick_axes[JOYSTICK_AXES_COUNT] = {};
|