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-03-22 11:24:43 +01:00
committed by a-chol
parent d88bdc6a1b
commit 801be60473
18 changed files with 455 additions and 458 deletions
@@ -0,0 +1,3 @@
#pragma once
#define JOYSTICK_AXES_COUNT 0
#define JOYSTICK_BUTTON_COUNT 1
@@ -0,0 +1,5 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT( JS_BUTTON0 )
};
@@ -0,0 +1 @@
JOYSTICK_ENABLE = yes