Compare commits

...

7 Commits

7 changed files with 9 additions and 5 deletions

View File

@ -829,9 +829,9 @@ endif
ifeq ($(strip $(PS2_MOUSE_ENABLE)), yes) ifeq ($(strip $(PS2_MOUSE_ENABLE)), yes)
PS2_ENABLE := yes PS2_ENABLE := yes
MOUSE_ENABLE := yes
SRC += ps2_mouse.c SRC += ps2_mouse.c
OPT_DEFS += -DPS2_MOUSE_ENABLE OPT_DEFS += -DPS2_MOUSE_ENABLE
OPT_DEFS += -DMOUSE_ENABLE
endif endif
VALID_PS2_DRIVER_TYPES := busywait interrupt usart vendor VALID_PS2_DRIVER_TYPES := busywait interrupt usart vendor

View File

@ -47,6 +47,7 @@ POSSIBILITY OF SUCH DAMAGE.
// chibiOS headers // chibiOS headers
# include "ch.h" # include "ch.h"
# include "hal.h" # include "hal.h"
# include "gpio.h"
#endif #endif
#include "ps2.h" #include "ps2.h"

View File

@ -2,7 +2,8 @@
* Keyboard Maintainer: [peepeetee](https://github.com/peepeetee) * Keyboard Maintainer: [peepeetee](https://github.com/peepeetee)
* Hardware Supported: Tap Duo
* Hardware Availability: [Momokai](https://www.momokai.com/)
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):

View File

@ -2,7 +2,8 @@
* Keyboard Maintainer: [peepeetee](https://github.com/peepeetee) * Keyboard Maintainer: [peepeetee](https://github.com/peepeetee)
* Hardware Supported: Tap Trio
* Hardware Availability: [Momokai](https://www.momokai.com/)
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):

View File

@ -16,7 +16,6 @@
#pragma once #pragma once
#define RGB_DI_PIN B9
#define RGB_MATRIX_LED_COUNT 89 #define RGB_MATRIX_LED_COUNT 89
#define RGB_DISABLE_WHEN_USB_SUSPENDED #define RGB_DISABLE_WHEN_USB_SUSPENDED

View File

@ -18,7 +18,8 @@
}, },
"processor": "STM32F103", "processor": "STM32F103",
"ws2812": { "ws2812": {
"driver": "pwm" "driver": "pwm",
"pin": "B9"
}, },
"rgb_matrix": { "rgb_matrix": {
"animations": { "animations": {

View File

@ -4,6 +4,7 @@
// chibiOS headers // chibiOS headers
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"
#include "gpio.h"
/* Check port settings for clock and data line */ /* Check port settings for clock and data line */
#if !(defined(PS2_CLOCK_PIN)) #if !(defined(PS2_CLOCK_PIN))