You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
641 B

Made a userspace that allows you to use your keyboard as an order of operations based calculator (#2864) * Made DZ60 layout with calculator * Cleaned up and commented, preparing to fix bug with negative in front of open parenthesis as first character * Fixed bug where negative sign infront of parenthesis as first character was parsed incorrectly * Made a better solution for the bug from the previous commit * Modularized and added a userfile so that this code can be used on various keyboards, found in doogle999 * Removed commented code from keymap * Made the layer that is used for calculations a define so that it can be changed per keyboard * Made the readme * Made the readme in the correct place * Revert "Made the readme in the correct place" This reverts commit 7f8b59ed9e59c77401a48be3a7ac1e8fd8e84e32. * Manually synced with qmk upstream * Stopped repeat, made keys print character that they are defined as rather than what the keyboard wants them to do * Added support for numpad, might make all keycodes custom so that there is no need to change doogle999.c if you want to change the keycode that is associated with a function, also made numpad automatically activating an option * Fixed some bugs with backspacing, updated the readme * Fixed some bugs with numlock turning on at the wrong times when a shift key was down * Made the return to layer work automatically instead of just forcing it to layer 0 * fixes and style changes, 20% decreased binary size * Fixed some bugs with double printing and compilation errors on my side * Fixed bug with exceeding the buffer size * Removed changes that added const-ness * Made changes so that backspace does not repeat to remove backspace bugs, still some bugs with recalculating without having typed anything * Fixed obo error with calc main loop * Made includes more accurate in keymap for dz60 * Moved flags to user makefile
5 years ago
  1. SRC += doogle999.c
  2. CFLAGS += -fstrict-aliasing -ftree-vrp
  3. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  4. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  5. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  6. CONSOLE_ENABLE = no # Console for debug(+400)
  7. COMMAND_ENABLE = no # Commands for debug and configuration
  8. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  9. NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  10. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  11. AUDIO_ENABLE = no
  12. RGBLIGHT_ENABLE = yes