1. 22 Apr, 2020 1 commit
  2. 17 Apr, 2020 1 commit
  3. 13 Apr, 2020 1 commit
  4. 11 Apr, 2020 6 commits
    • Dennis Wehrmann's avatar
      dwehrmann keymap colemak · b3f54193
      Dennis Wehrmann authored
      b3f54193
    • moyi4681's avatar
      change kbd67 rev1 and rev2 default keymaps (#8758) · f7601dba
      moyi4681 authored
      * change kbd67 default keymap
      f7601dba
    • Reid's avatar
      [Keyboard] Add splitish (#8751) · 89cab95b
      Reid authored
      * Added personal minivan keymap, and started work on splitish directory
      
      * Merge branch 'splitish' of github.com:RSchneyer/qmk_firmware into splitish
      
      Trying to undo attempted fix
      
      Added splitish keyboard files, removed personal Minivan keymap
      
      * Removed personal Minivan keymaps
      
      * Fixed small issue in readme
      
      * Added changes based on inital PR feedback
      
      * forgot a semicolon
      
      * Quick config.h file and default keymap update
      89cab95b
    • QMK Bot's avatar
      format code according to conventions [skip ci] · cc386278
      QMK Bot authored
      cc386278
    • Purdea Andrei's avatar
      Various fixes to how timer differences are calculated (#8585) · 6c2c3c13
      Purdea Andrei authored
      * tmk_core/common: Fixing TIMER_DIFF macro to calculate difference correctly after the timer wraps.
      
      Let's go through an example, using the following macro:
      
      If the first timer read is 0xe4 and the second one is 0x32, the timer wrapped.
      If the timer would have had more bits, it's new value would have been 0x132,
      and the correct difference in time is 0x132 - 0xe4 = 0x4e
      
      old code TIMER_DIFF_8(0x32, 0xe4) = 0xff - 0xe4 + 0x32 = 0x4d, which is wrong.
      new code TIMER_DIFF_8(0x32, 0xe4) = 0xff + 1 - 0xe4 + 0x32 = 0x4e, which is correct.
      
      This also gives a chance for a smart compiler to optimize the code using normal
      integer overflow.
      
      For example on AVR, the following C code:
      uint8_t __attribute__ ((noinline)) test(uint8_t current_timer, uint8_t start_timer)
      {
          return TIMER_DIFF_8(current_timer, start_timer);
      }
      With the original code, it gets translated to the following list of instructions:
      00004c6e <test>:
          4c6e:       98 2f           mov     r25, r24
          4c70:       86 1b           sub     r24, r22
          4c72:       96 17           cp      r25, r22
          4c74:       08 f4           brcc    .+2             ; 0x4c78 <test+0xa>
          4c76:       81 50           subi    r24, 0x01       ; 1
          4c78:       08 95           ret
      But with this commit, it gets translated to a single instruction:
      00004c40 <test>:
          4c40:       86 1b           sub     r24, r22
          4c42:       08 95           ret
      
      This unfortunately doesn't always work so nicely, for example the following C code:
      int __attribute__ ((noinline)) test(uint8_t current_timer, uint8_t start_timer)
      {
          return TIMER_DIFF_8(current_timer, start_timer);
      }
      (Note: return type changed to int)
      With the original code it gets translated to:
      00004c6e <test>:
          4c6e:       28 2f           mov     r18, r24
          4c70:       30 e0           ldi     r19, 0x00       ; 0
          4c72:       46 2f           mov     r20, r22
          4c74:       50 e0           ldi     r21, 0x00       ; 0
          4c76:       86 17           cp      r24, r22
          4c78:       20 f0           brcs    .+8             ; 0x4c82 <test+0x14>
          4c7a:       c9 01           movw    r24, r18
          4c7c:       84 1b           sub     r24, r20
          4c7e:       95 0b           sbc     r25, r21
          4c80:       08 95           ret
          4c82:       c9 01           movw    r24, r18
          4c84:       84 1b           sub     r24, r20
          4c86:       95 0b           sbc     r25, r21
          4c88:       81 50           subi    r24, 0x01       ; 1
          4c8a:       9f 4f           sbci    r25, 0xFF       ; 255
          4c8c:       08 95           ret
      Wth this commit it gets translated to:
      00004c40 <test>:
          4c40:       28 2f           mov     r18, r24
          4c42:       30 e0           ldi     r19, 0x00       ; 0
          4c44:       46 2f           mov     r20, r22
          4c46:       50 e0           ldi     r21, 0x00       ; 0
          4c48:       86 17           cp      r24, r22
          4c4a:       20 f0           brcs    .+8             ; 0x4c54 <test+0x14>
          4c4c:       c9 01           movw    r24, r18
          4c4e:       84 1b           sub     r24, r20
          4c50:       95 0b           sbc     r25, r21
          4c52:       08 95           ret
          4c54:       c9 01           movw    r24, r18
          4c56:       84 1b           sub     r24, r20
          4c58:       95 0b           sbc     r25, r21
          4c5a:       93 95           inc     r25
          4c5c:       08 95           ret
      There is not much performance improvement in this case, however at least with this
      commit it functions correctly.
      
      Note: The following commit will improve compiler output for the latter example.
      
      * tmk_core/common: Improve code generation for TIMER_DIFF* macros
      
      Because of integer promotion the compiler is having a hard time generating
      efficient code to calculate TIMER_DIFF* macros in some situations.
      In the below example, the return value is "int", and this is causing the
      trouble.
      
      Example C code:
      
      int __attribute__ ((noinline)) test(uint8_t current_timer, uint8_t start_timer)
      {
          return TIMER_DIFF_8(current_timer, start_timer);
      }
      
      BEFORE: (with -Os)
      
      00004c40 <test>:
          4c40:       28 2f           mov     r18, r24
          4c42:       30 e0           ldi     r19, 0x00       ; 0
          4c44:       46 2f           mov     r20, r22
          4c46:       50 e0           ldi     r21, 0x00       ; 0
          4c48:       86 17           cp      r24, r22
          4c4a:       20 f0           brcs    .+8             ; 0x4c54 <test+0x14>
          4c4c:       c9 01           movw    r24, r18
          4c4e:       84 1b           sub     r24, r20
          4c50:       95 0b           sbc     r25, r21
          4c52:       08 95           ret
          4c54:       c9 01           movw    r24, r18
          4c56:       84 1b           sub     r24, r20
          4c58:       95 0b           sbc     r25, r21
          4c5a:       93 95           inc     r25
          4c5c:       08 95           ret
      
      AFTER: (with -Os)
      
      00004c40 <test>:
          4c40:       86 1b           sub     r24, r22
          4c42:       90 e0           ldi     r25, 0x00       ; 0
          4c44:       08 95           ret
      
      Note: the example is showing -Os but improvements can be seen at all optimization levels,
      including -O0. We never use -O0, but I tested it to make sure that no extra code is
      generated in that case.OA
      
      * quantum/debounce: Fix custom wrapping timers in eager_pr and eager_pk debounce algorithms
      
      Please see the below simulated sequence of events:
      Column A is the 16-bit value returned by read_timer();
      Column B is the value returned by custom_wrap_timer_read();
      Column C is the original code: (timer_read() % MAX_DEBOUNCE)
      
          A,     B,     C
      65530,    19,    30
      65531,    20,    31
      65532,    21,    32
      65533,    22,    33
      65534,    23,    34
      65535,    24,    35
          0     25,     0
          1,    26,     1
          2,    27,     2
          3,    28,     3
          4,    29,     4
          5,    30,     5
      
      read_timer() wraps about every 1.09 seconds, and so debouncing might
      fail at these times without this commit.
      
      * quantum/debounce/eager_pr and eager_pk: modifications for code readability according to code review.
      
      * quantum/debounce/eager_pr and eager_pk: modifications for code readability according to code review. (2)
      6c2c3c13
    • Joshua Moses Diamond's avatar
      Some refinements of 75_ansi/spidey3 layout (#8581) · e4cc642a
      Joshua Moses Diamond authored
      * First cut at Josh Diamond's KBD75 customizations.
      Includes:
      * My unique keymap with ChromeOS specific keys
      * Use RGB underglow to indicate Caps Lock
      * Some unicode bindings
      * Some changes to make debugging easier
      
      * Updated spidey3 to be applicable to all 75_ansi boards
      
      * Sadly, ChromeOS doesn't pay attention to most consumer codes
      
      * Add mac layer; fix flakeyness in CAPS_LOCK underglow.
      
      * Make layers.json match the keymap (to the extent possible)
      
      * Major cleanup; fix broken debug persistence
      
      * Cleanup some whitespace issues
      
      * Fix incorrect log message.
      
      * Rework layer indication to user RGBLIGHT_LAYERS
      
      * Update layouts/community/75_ansi/spidey3/keymap.c
      Co-Authored-By: default avatarDrashna Jaelre <drashna@live.com>
      
      * Rename users/spidey3/rgblight.c to layer_rgb.c per suggestion
      
      * Refactor to use set_single_persistant_default_layer().
      
      * Use dprint/f to make logging more elegant.
      
      * Update users/spidey3/config.h
      Co-Authored-By: default avatarDrashna Jaelre <drashna@live.com>
      
      * Update users/spidey3/config.h
      Co-Authored-By: default avatarDrashna Jaelre <drashna@live.com>
      
      * Update layouts/community/75_ansi/spidey3/rules.mk
      Co-Authored-By: default avatarRyan <fauxpark@gmail.com>
      
      * Update users/spidey3/spidey3.c
      Co-Authored-By: default avatarRyan <fauxpark@gmail.com>
      
      * Update users/spidey3/layer_rgb.c
      Co-Authored-By: default avatarRyan <fauxpark@gmail.com>
      
      * Update users/spidey3/init.c
      Co-Authored-By: default avatarRyan <fauxpark@gmail.com>
      
      * Changes from code review
      
      * Numpad layer, various keys for 75_ansi/spidey3
      
      * Add Fn-B to toggle NKRO
      
      * Blink rgb to acknowledge some setting changes
      
      * Updated media control & reset key location
      
      * Minor cleanup
      Co-authored-by: default avatarJoshua Diamond <jdiamond@Deep-Thought.local>
      Co-authored-by: default avatarDrashna Jaelre <drashna@live.com>
      Co-authored-by: default avatarRyan <fauxpark@gmail.com>
      e4cc642a
  5. 10 Apr, 2020 3 commits
  6. 09 Apr, 2020 7 commits
    • Marko Bakan's avatar
      [Keyboard] obuwunkunubi/spaget handwired (#8738) · 6384a2ab
      Marko Bakan authored
      * adding my keymap
      
      * Update keyboards/handwired/obuwunkunubi/spaget/readme.md
      
      * Update keyboards/handwired/obuwunkunubi/spaget/readme.md
      
      * Update keyboards/handwired/obuwunkunubi/spaget/keymaps/default/rules.mk
      
      * Update rules.mk
      
      * Update keyboards/handwired/obuwunkunubi/spaget/spaget.h
      
      * Update keyboards/handwired/obuwunkunubi/spaget/spaget.h
      
      * Update keyboards/handwired/obuwunkunubi/spaget/info.json
      
      * Update keyboards/handwired/obuwunkunubi/spaget/rules.mk
      
      * Update rules.mk
      
      * Update keyboards/handwired/obuwunkunubi/spaget/spaget.c
      
      * Update keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
      
      * Update keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
      
      * Update keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
      
      * Update keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
      
      * Update keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
      
      * Update keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
      
      * Update keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
      
      * Update keyboards/handwired/obuwunkunubi/spaget/info.json
      
      * Update keymap.c
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * Update spaget.h
      
      * Update keymap.c
      
      Updated comments
      6384a2ab
    • Konstantin Đorđević's avatar
      [Keymap] Update personal userspace and keymaps (#8747) · 439afc88
      Konstantin Đorđević authored
      * Update mousekey parameters in userspace
      
      * Disable GRAVE_ESC in boards where it isn't used
      
      * Tweak MODERN_DOLCH_RED and reset RGB on Shift+Toggle in KBD6X
      
      * Disable RGB controls when Fn/Caps indicator lights are on
      
      * Use LTO_ENABLE instead of setting -flto directly
      
      * Add led_update_keymap, use SS_LCTL instead of SS_LCTRL
      
      * Change TAPPING_TOGGLE from 2 to 3
      439afc88
    • Manna Harbour's avatar
      Add PS2_MOUSE_ROTATE to compensate for device orientation (#8650) · 07c75feb
      Manna Harbour authored
      * Add PS2_MOUSE_ROTATE to compensate for device orientation
      
      * fixup! Add PS2_MOUSE_ROTATE to compensate for device orientation
      
      * Reformat with IndentPPDirectives: AfterHash as per #6316
      07c75feb
    • Joshua Rubin's avatar
      Add RGB support in via to launchpad (#8621) · b5aa5e43
      Joshua Rubin authored
      Signed-off-by: default avatarJoshua Rubin <me@jawa.dev>
      b5aa5e43
    • George Wietor's avatar
      VIA support for the KBDFans KBD6x (#8680) · be8443b3
      George Wietor authored
      * Add VIA keymap
      
      * Update VID/PID
      
      - Update VID/PID to match other KBDfans keyboards
      - Flesh out keyboard description
      
      * add missing newline. whoops.
      
      * Update keyboards/kbdfans/kbd6x/keymaps/via/rules.mk
      Co-Authored-By: default avatarDrashna Jaelre <drashna@live.com>
      
      * update author / copyright date
      
      * Update keyboards/kbdfans/kbd6x/keymaps/via/rules.mk
      Co-Authored-By: default avatarRyan <fauxpark@gmail.com>
      
      * Update keyboards/kbdfans/kbd6x/keymaps/via/keymap.c
      Co-Authored-By: default avatarJoel Challis <git@zvecr.com>
      
      * Update keyboards/kbdfans/kbd6x/kbd6x.h
      Co-Authored-By: default avatarJoel Challis <git@zvecr.com>
      Co-authored-by: default avatarGeorge Wietor <george@light-gray.attlocal.net>
      Co-authored-by: default avatarDrashna Jaelre <drashna@live.com>
      Co-authored-by: default avatarRyan <fauxpark@gmail.com>
      Co-authored-by: default avatarJoel Challis <git@zvecr.com>
      be8443b3
    • Konstantin Đorđević's avatar
      Set the correct RGB LED count on YD60MQ (#8629) · 4b10235f
      Konstantin Đorđević authored
      * Fix RGB LED count on YD60MQ
      
      * Split YD60MQ into 12-LED and 16-LED revisions
      
      * Update readmes
      
      * Make 12led the default version
      
      * Readd base rules.mk, version→variant in readme
      
      * Add syntax highlighting to code blocks in readme
      4b10235f
    • Yan-Fa Li's avatar
      [Keymap] Updates to personal keymaps (#8665) · 6ef13f83
      Yan-Fa Li authored
      6ef13f83
  7. 08 Apr, 2020 14 commits
  8. 07 Apr, 2020 6 commits
    • DennyTom's avatar
      DennyTom's buttery_engine (#8138) · e409fb47
      DennyTom authored
      * Selectively adding pieces
      
      * Adding georgi keymap
      
      * Adding more files, fixing make
      
      * Smaller makefiles
      
      * Fixing make rules
      
      * README more inline with QMK's guidelines
      
      * Turning off buggy assert
      
      * Improving documentation based on a user feedback.
      
      * Slightly better schema
      
      * Resurrected state machine diagram
      e409fb47
    • elmo-space's avatar
      add via support for kira80 (#8677) · ae74922d
      elmo-space authored
      * add via support for kira80
      
      * remove redundant raw enable from rules.mk
      
      * clean additional layers for via
      
      * changed USB Vendor ID
      ae74922d
    • artjomsR's avatar
      [Keyboard] Wheatfield Split75 (#8511) · 3349a8b4
      artjomsR authored
      * Added split75 keyboard
      
      * tidy up commented out code + removed default
      
      * added visual map
      
      * proper led functions. more layers for keymap
      
      * led functions. moved mod keys to numbers
      
      * double tapping toggle + leds on power on
      
      * media keys fix
      
      * clean up of commented out code and unnecessary functions. readme update.
      default keymap
      
      * removed bootloadHID file
      
      * Update keyboards/split75/config.h
      
      * Update keyboards/split75/config.h
      
      * Update keyboards/split75/config.h
      
      * Update keyboards/split75/config.h
      
      * removed python flashing script
      
      * Update keyboards/split75/keymaps/default/keymap.c
      
      * Update keyboards/split75/split75.h
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/default/keymap.c
      
      * reintroduced empty matrix_scan_user to default keymap
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/ergodone/config.h
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * updated readme file
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/rules.mk
      
      * Update keyboards/split75/split75.c
      
      * code fix after suggestions
      
      * defined tapping toggle as double tap
      
      * added info.json
      
      * Update keyboards/split75/config.h
      
      * fix for leds not displaying properly when initialising
      
      * Update keyboards/split75/README.md
      
      * Update keyboards/split75/keymaps/default/keymap.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * changed product description fields
      
      * renamed user functions
      
      * indentation fix
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.c
      
      * art keymap update
      
      * Update keyboards/split75/config.h
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/keymaps/art/keymap.c
      
      * Update keyboards/split75/keymaps/default/keymap.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/matrix.c
      
      * Update keyboards/split75/rules.mk
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/config.h
      
      * Update keyboards/split75/split75.c
      
      * disable underglow on sleep and enabled backlighting
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * Update keyboards/split75/usbconfig.h
      
      * personal keymap update
      
      * changed boot animation
      
      * consistent whitespace
      
      * Tidied up default notes and unnecessary comments
      
      * Unique Vendor ID
      
      * remove usb config file
      
      * corrected manufacturer
      
      * Update keyboards/split75/config.h
      
      * Update keyboards/split75/README.md
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/split75.h
      
      * Update keyboards/split75/split75.h
      
      * Update keyboards/split75/split75.h
      
      * Update keyboards/split75/split75.c
      
      * Update keyboards/split75/matrix.c
      
      * Update keyboards/split75/matrix.c
      
      * Update keyboards/split75/matrix.c
      
      * Update keyboards/split75/matrix.c
      
      * Update keyboards/split75/split75.h
      
      * Personal keymap restore after refactor
      
      * Moved to wheatfield folder + updated readme
      3349a8b4
    • skullY's avatar
      Correctly handle json keymaps with ANY() · b4ef7242
      skullY authored
      b4ef7242
    • Konstantin Đorđević's avatar
      Update C coding conventions to match .clang-format config for i… (#8717) · f4b67cde
      Konstantin Đorđević authored
      * Update C coding conventions to match current .clang-format config for indenting PP directives
      
      * Make indenting guideline clearer
      f4b67cde
    • Andrew Kannan's avatar
      Update 072 based CannonKeys boards to rely on core QMK support (#8716) · 0a643be3
      Andrew Kannan authored
      * Swap CannonKeys 072 boards over to rely on core QMK backlight support
      
      * Rename keymap
      
      * Rename via_tsangan back to via
      0a643be3
  9. 06 Apr, 2020 1 commit