Created
February 11, 2022 08:00
-
-
Save idank/314379d4d3e6b2ea438cfcaa8b8cb785 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git diff | |
| diff --git a/keyboards/crkbd/keymaps/default/config.h b/keyboards/crkbd/keymaps/default/config.h | |
| index 8f4d73ca22..5bd358e036 100644 | |
| --- a/keyboards/crkbd/keymaps/default/config.h | |
| +++ b/keyboards/crkbd/keymaps/default/config.h | |
| @@ -48,4 +48,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| #define RGBLIGHT_VAL_STEP 17 | |
| #endif | |
| +#ifdef PS2_USE_BUSYWAIT | |
| +# define PS2_CLOCK_PORT PORTD | |
| +# define PS2_CLOCK_PIN PIND | |
| +# define PS2_CLOCK_DDR DDRD | |
| +# define PS2_CLOCK_BIT 0 | |
| +# define PS2_DATA_PORT PORTD | |
| +# define PS2_DATA_PIN PIND | |
| +# define PS2_DATA_DDR DDRD | |
| +# define PS2_DATA_BIT 1 | |
| +#endif | |
| + | |
| +#define PS2_MOUSE_INVERT_Y | |
| + | |
| #define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c" | |
| diff --git a/keyboards/crkbd/keymaps/default/rules.mk b/keyboards/crkbd/keymaps/default/rules.mk | |
| index c14c202fae..59464b8f82 100644 | |
| --- a/keyboards/crkbd/keymaps/default/rules.mk | |
| +++ b/keyboards/crkbd/keymaps/default/rules.mk | |
| @@ -1,5 +1,8 @@ | |
| MOUSEKEY_ENABLE = yes # Mouse keys | |
| -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | |
| -OLED_ENABLE = yes | |
| +RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | |
| +OLED_ENABLE = no | |
| OLED_DRIVER = SSD1306 | |
| LTO_ENABLE = yes | |
| + | |
| +PS2_MOUSE_ENABLE = yes | |
| +PS2_USE_BUSYWAIT = yes | |
| $ | |
| $ | |
| $ qmk compile -kb crkbd -km default | |
| Ψ Compiling keymap with gmake --jobs=1 crkbd/rev1:default | |
| QMK Firmware 0.14.32 | |
| Making crkbd/rev1 with keymap default | |
| avr-gcc (Homebrew AVR GCC 8.4.0_2) 8.4.0 | |
| Copyright (C) 2018 Free Software Foundation, Inc. | |
| This is free software; see the source for copying conditions. There is NO | |
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| Size before: | |
| text data bss dec hex filename | |
| 0 27490 0 27490 6b62 .build/crkbd_rev1_default.hex | |
| Linking: .build/crkbd_rev1_default.elf [ERRORS] | |
| | | |
| | avr-gcc: error: .build/obj_crkbd_rev1_default/ps2_io_avr.o: No such file or directory | |
| | | |
| gmake[1]: *** [tmk_core/rules.mk:365: .build/crkbd_rev1_default.elf] Error 1 | |
| gmake: *** [Makefile:478: crkbd/rev1:default] Error 1 | |
| Make finished with errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment