Browse Source

Fix missing joystick.h include (#22946)

dependabot/pip/util/nix/pillow-10.2.0 0.23.6
Ryan 3 months ago
committed by GitHub
parent
commit
3495cbc638
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 8 deletions
  1. +0
    -1
      keyboards/handwired/battleship_gamepad/config.h
  2. +0
    -1
      keyboards/handwired/onekey/keymaps/joystick/config.h
  3. +1
    -6
      keyboards/lime/rev1/config.h
  4. +4
    -0
      tmk_core/protocol/report.h

+ 0
- 1
keyboards/handwired/battleship_gamepad/config.h View File

@ -18,7 +18,6 @@
/* joystick configuration */
#define JOYSTICK_BUTTON_COUNT 25
#define JOYSTICK_AXIS_COUNT 2
#define JOYSTICK_AXIS_RESOLUTION 10
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */


+ 0
- 1
keyboards/handwired/onekey/keymaps/joystick/config.h View File

@ -1,4 +1,3 @@
#pragma once
#define JOYSTICK_AXIS_COUNT 2
#define JOYSTICK_BUTTON_COUNT 1

+ 1
- 6
keyboards/lime/rev1/config.h View File

@ -16,11 +16,6 @@
#pragma once
/* joystick support */
#ifdef JOYSTICK_ENABLE
# define JOYSTICK_AXIS_COUNT 2
# define JOYSTICK_BUTTON_COUNT 1
# define JOYSTICK_AXIS_RESOLUTION 8
#endif
#define JOYSTICK_BUTTON_COUNT 1
#define SPLIT_USB_DETECT

+ 4
- 0
tmk_core/protocol/report.h View File

@ -22,6 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "keycode.h"
#include "util.h"
#ifdef JOYSTICK_ENABLE
# include "joystick.h"
#endif
// clang-format off
/* HID report IDs */


Loading…
Cancel
Save