Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Shifts #2

Commits on Aug 11, 2020

  1. Branch point for 2020 Aug 29 Breaking Change

    Update readme.md
    noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    31bb05c View commit details
    Browse the repository at this point in the history
  2. Remove iWRAP protocol (qmk#9284)

    fauxpark authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    24af018 View commit details
    Browse the repository at this point in the history
  3. Initial work for consolidation of ChibiOS platform files (qmk#8327)

    * Initial work for consolidation of board files and default ChibiOS configs.
    
    * Migrate F401/F411 black pills for testing.
    
    * Add early init bootloader jump flag.
    
    * Add support for I2C in order to use i2c_scanner keymap.
    
    * Add F401/F411 HSE bypass to get things booting.
    
    * Exempt "hooked" ChibiOS conf files from updater script.
    
    * Fix up ordering for bootloader_defs file check.
    
    * Match previous $(KEYBOARD_PATHS) value for Proton-C, updated for all board configs.
    tzarc authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    faa0401 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1aa2a0d View commit details
    Browse the repository at this point in the history
  5. Convert CONSUMER2BLUEFRUIT() and CONSUMER2RN42() macros to static…

    … inline functions (qmk#9055)
    fauxpark authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    f3c6924 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e457167 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ab99c81 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4887279 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ccb1faf View commit details
    Browse the repository at this point in the history
  10. qmk cformat on develop (qmk#9501)

    tzarc authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    970ad01 View commit details
    Browse the repository at this point in the history
  11. Change analogRead calls to analogReadPin (qmk#9023)

    * Change analogRead calls to analogReadPin
    
    * Add ChangeLog
    
    * Update docs, remove mention of `analogRead()`
    
    * Retarget changelog for next round
    fauxpark authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    563728e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    208c2f2 View commit details
    Browse the repository at this point in the history
  13. F303/Proton-C migration. (qmk#9315)

    tzarc authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    21a884c View commit details
    Browse the repository at this point in the history
  14. Fix the mousekey scrolling (qmk#9174)

    Mousekey scrolling should have a separate repeat variable
    to keep track of scrolling acceleration, instead of being
    tied to mouse movement scolling in mousekeys. The send function
    should record when the last movement was made since this is
    when movement is actually sent. Doing this fixes the bug where
    the initial press of a mousekey scroll button causes a double scroll.
    
    Signed-off-by: Daniel Hong <daniel.hong@live.com>
    dhong44 authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    31a0264 View commit details
    Browse the repository at this point in the history
  15. Add dual-bank STM32 bootloader support, given GPIO toggle on BOOT0 to…

    … charge RC circuit. (qmk#8778)
    tzarc authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    c023f1b View commit details
    Browse the repository at this point in the history
  16. Bigger combo index (qmk#9318)

    * Add change log
    
    * Change combo index from uint8_t to uint16_t
    sevanteri authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    d982abe View commit details
    Browse the repository at this point in the history
  17. Re-fix the STM32 dual-bank bootloader stuff. (qmk#9738)

    * Re-fix the dual-bank bootloader stuff.
    
    * Use wait_ms() instead of using nop's for a delay, as ChibiOS is actually running at the time of bootloader jump.
    tzarc authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    83fc249 View commit details
    Browse the repository at this point in the history
  18. Disable NKRO on V-USB controllers (qmk#9054)

    * Disable NKRO on V-USB controllers
    
    * not _currently_ supported text
    
    Co-authored-by: Ryan <fauxpark@gmail.com>
    
    Co-authored-by: Ryan <fauxpark@gmail.com>
    2 people authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    de57f33 View commit details
    Browse the repository at this point in the history
  19. Update features to use Custom Tapping Term when appropriate (qmk#6259)

    * Update Space Cadet to use Custom Tapping Term functionality
    
    * Detect correct keycode for space cadet tapping term
    
    * Update tap dancing to use global custom tapping term
    
    * Update documentation for Tap Dances
    
    * formatting pass
    
    * Apply suggestions from code review
    
    Co-Authored-By: fauxpark <fauxpark@gmail.com>
    
    * Update docs/feature_tap_dance.md
    
    Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
    
    * Update for future
    
    * Update user keymaps for space cadet
    
    * Fix typos
    
    * Clean up tapping term stuff
    
    * Fix compiler issue if NO_ACTION_TAPPING is enabled
    
    Co-authored-by: fauxpark <fauxpark@gmail.com>
    Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
    3 people committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    fca5b6f View commit details
    Browse the repository at this point in the history
  20. Hid joystick interface (qmk#4226)

    * add support for hid gamepad interface
    add documentation for HID joystick
    Add joystick_task to read analog axes values even when no key is pressed or release. update doc
    Update docs/feature_joystick.md
    Manage pin setup and read to maintain matrix scan after analog read
    
    * Incorporates patches and changes to HID reporting
    
    There are some patches provided by @a-chol incorporated on this commit,
    and also some changes I made to the HID Report structure.
    
    The most interesting is the one dealing with number of buttons: Linux
    doesn't seem to care, but Windows requires the HID structure to be byte
    aligned (that's in the spec). So if one declares 8/16/32... buttons they
    should not have any issues, but this is what happens when you have 9
    buttons:
    
    ```
     bits |0|1|2|3|4|5|6|7|
          |*|*|*|*|*|*|*|*| axis 0 (report size 8)
          |*|*|*|*|*|*|*|*| ...
          |*|*|*|*|*|*|*|*|
          |*|*|*|*|*|*|*|*|
          |*|*|*|*|*|*|*|*|
          |*|*|*|*|*|*|*|*|
          |*|*|*|*|*|*|*|*| axis 6
          |*|*|*|*|*|*|*|*| first 8 buttons (report size 1)
          |*| | | | | | | | last of 9 buttons, not aligned
    ```
    
    So for that I added a conditonal that will add a number of reports with
    size 1 to make sure it aligns to the next multiple of 8. Those reports
    send dummy inputs that don't do anything aside from aligning the data.
    
    Tested on Linux, Windows 10 and Street Fighter (where the joystick is
    recognized as direct-input)
    
    * Add save and restore of each pin used in reading joystick (AVR).
    Allow output pin to be JS_VIRTUAL_AXIS if the axis is connected to Vcc
    instead of an output pin from the MCU.
    
    Fix joystick report id
    
    Fix broken v-usb hid joystick interface. Make it more resilient to unusual settings (none multiple of eight button count, 0 buttons or 0 axes)
    
    Correct adc reading for multiple axes. Piecewise range conversion for uncentered raw value range. Input, output and ground pin configuration per axis.
    
    Documentation fixes
    
    * Fix port addressing for joystick analog read
    
    * The other required set of changes
    As per the PR, the changes still holding it up.
    Add onekey for testing.
    Fix ARM builds.
    Fix device descriptor when either axes or buttons is zero.
    Add compile-time check for at least one axis or button.
    Move definition to try to fix conflict.
    PR review comments.
    qmk cformat
    
    * avoid float functions to compute range mapping for axis adc reading
    
    * Remove V-USB support for now. Updated docs accordingly.
    
    * Update tmk_core/protocol/lufa/lufa.c
    
    Co-Authored-By: Ryan <fauxpark@gmail.com>
    
    * Update tmk_core/protocol/usb_descriptor.c
    
    Co-Authored-By: Ryan <fauxpark@gmail.com>
    
    * Update tmk_core/protocol/usb_descriptor.c
    
    Co-Authored-By: Ryan <fauxpark@gmail.com>
    
    * Update tmk_core/protocol/usb_descriptor.c
    
    Co-Authored-By: Ryan <fauxpark@gmail.com>
    
    * Add support for joystick adc reading for stm32 MCUs. Fix joystick hid report sending for chibios
    
    * Fix HID joystick report sending for ChibiOS.
    Add one analog axis to the onekey:joystick keymap.
    Fix pin state save and restore during joystick analog read for STM32
    MCUs.
    
    * Update tmk_core/protocol/chibios/usb_main.c
    
    Co-Authored-By: Ryan <fauxpark@gmail.com>
    
    * Update tmk_core/protocol/lufa/lufa.c
    
    Co-Authored-By: Ryan <fauxpark@gmail.com>
    
    * Add missing mcuconf.h and halconf.h to onekey:joystick keymap.
    Add suggested fixes from PR.
    
    * Switch saveState and restoreState signature to use pin_t type.
    onekey:joystick : add a second axis, virtual and programmatically animated.
    
    * Update docs/feature_joystick.md
    
    Co-Authored-By: Ryan <fauxpark@gmail.com>
    
    * Update docs/feature_joystick.md
    
    Co-Authored-By: Ryan <fauxpark@gmail.com>
    
    * Add PR corrections
    
    * Remove halconf.h and mcuconf.h from onekey keymaps
    
    * Change ADC_PIN to A0
    
    Co-authored-by: achol <allecooll@hotmail.com>
    Co-authored-by: José Júnior <jose.junior@gmail.com>
    Co-authored-by: a-chol <achol@notamail.com>
    Co-authored-by: Nick Brassel <nick@tzarc.org>
    Co-authored-by: Ryan <fauxpark@gmail.com>
    6 people authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    ace17e4 View commit details
    Browse the repository at this point in the history
  21. Tweak the Christmas animation effect to be less harsh on the eyes (qm…

    …k#7648)
    
    * Tweak the Christmas animation effect to be less harsh on the eyes
    
    * Further improve the tweaked Christmas animation code
    
    - Use constants where it makes sense
    - Instead of complicated math, use a static variable to keep track if it's animating from or to red
    - Don't use pow (but a simple macro instead)
    - Using floating point math is necessary for the fraction in the cubic bezier function to work
    
    * Update docs for the tweaked Christmas animation effect
    
    * Further improve memory usage
    
    - Don't use floats, but 32 bit ints instead (where needed)
    - Replace limits.h with constant
    
    * Fix typo
    Maxr1998 authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    f9267ec View commit details
    Browse the repository at this point in the history
  22. Initialize Layer State on startup (qmk#8318)

    * Initialize Layer State on startup
    
    Right now, on startup, the default layer state gets called and set, triggering the callback functions for the default layer state. However, the normal layer state never actually gets initialized.  It's set to 0 directly, by default, but the callback functions are never actually called.  This creates some inconsistency in the behavior for end users.  This adds a simple "clear" that triggers the callback on startup.  This should produce more consisten behavior between the two functions and layer masks.
    
    * Stupid hack
    
    * Fix type casting?
    
    * Fix compile issues with magic is disabled
    drashna authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    d189a57 View commit details
    Browse the repository at this point in the history
  23. The Key Company project consolidation (qmk#9547)

    * Consolidate TKC projects and increase VIA keymap count to 4.
    
    * Updated readme files.
    
    * Removed config.h via limitation of 2 dynamic keymaps
    
    * Reduce dynamic keymaps from 4 to 3 due to EEPROM space limitations.
    
    * Update dynamic_keymap.c
    
    * Restore 4 dynamic keymaps for VIA in TKC projects.
    
    * Update quantum/dynamic_keymap.c
    TerryMathews authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    5484b63 View commit details
    Browse the repository at this point in the history
  24. [Keyboard] relocating boards by flehrad (qmk#9635)

    Co-authored-by: flehrad <flehrad@users.noreply.github.com>
    2 people authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    80ff2ba View commit details
    Browse the repository at this point in the history
  25. Add support for hsv->rgb conversion without using CIE curve. (qmk#9856)

    * Add support for hsv->rgb conversion without using CIE curve.
    
    * Modify anavi/macropad8 to disable unicode (was unused), otherwise firmware size is too large.
    tzarc authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    7de0f17 View commit details
    Browse the repository at this point in the history
  26. Noeeprom functions for rgb_matrix (qmk#9487)

    * Add eeprom_helpers for toggle, mode, sethsv, speed; add set_speed; add noeeprom versions of toggle, step, hue, sat, val, and speed
    
    * qmk cformat rgb_matrix
    
    * Add rgb_matrix_set_speed and *_noeeprom functions
    
    * Do not expose rgb_matrix_*_eeprom_helper functions
    tynanbe authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    c4d3b24 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    6bd3bf2 View commit details
    Browse the repository at this point in the history
  28. Fix Czech keycodes (qmk#9987)

    kosorin authored and noroadsleft committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    8b7b3ce View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2020

  1. Keebio RGB wiring update (qmk#7754)

    * Change RGB wiring for Levinson
    
    * Update RGB wiring for Iris
    
    * Update RGB wiring for Nyquist
    
    * Update RGB wiring for Quefrency
    
    * Update RGB wiring for Viterbi
    
    * Update RGB wiring for Fourier
    
    * Update RGB wiring for BFO
    
    * Handle redefinition of RGBLED_SPLIT
    nooges authored Aug 12, 2020
    Configuration menu
    Copy the full SHA
    d98e044 View commit details
    Browse the repository at this point in the history
  2. Add st-flash flash target (qmk#9964)

    * Add `st-flash` flash target
    
    Add support for flashing the firmware via the `st-flash` utility from
    the STLink Tools package (https://github.com/stlink-org/stlink).
    
    * Add `st-flash` to the `qmk flash -b` output
    sigprof authored Aug 12, 2020
    Configuration menu
    Copy the full SHA
    6a8cbaa View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2020

  1. Configuration menu
    Copy the full SHA
    5cb57c7 View commit details
    Browse the repository at this point in the history
  2. #define AUTO_SHIFT_SETUP (qmk#8441)

    * #define AUTO_SHIFT_SETUP
    
    * Clarification
    
    Changed `#ifndef` to `#ifdef` and moved enable disable outside AUTO_SHIFT_SETUP
    
    * AUTO_SHIFT_NO_SETUp
    ThePreviousOne authored Aug 15, 2020
    Configuration menu
    Copy the full SHA
    a9d4e67 View commit details
    Browse the repository at this point in the history
  3. ARM backlight - timer implementation (qmk#8291)

    * Add GPT timer based backlight driver
    
    * Update to tim15 to avoid conflict with audio
    
    * Update quantum/backlight/backlight_timer.c
    zvecr authored Aug 15, 2020
    Configuration menu
    Copy the full SHA
    489dcfa View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2020

  1. Remove f072 backlight warning (qmk#10040)

    * Remove f072 backlight warning
    
    * Remove f072 backlight warning from docs
    zvecr authored Aug 16, 2020
    Configuration menu
    Copy the full SHA
    9dc51c0 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2020

  1. Configuration menu
    Copy the full SHA
    f13d897 View commit details
    Browse the repository at this point in the history
  2. Auto shift: support repeats and early registration (qmk#7048)

    Instead of waiting for the next record to tap the autoshiftable key,
    expose a matrix_scan function that will check the timeout and register
    the key immediately if the timeout period has elapsed.  This means the
    user gets immediate feedback about their press and doesn't have to
    guess whether it's been long enough.
    
    Additionally, don't unregister the keypress immediately.  This means
    that auto-shifted keys can be held down.
    
    Fixes qmk#7048
    p00ya committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    a1c9df0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff95c13 View commit details
    Browse the repository at this point in the history
  4. Support tap-then-hold for auto shift

    Make auto-shift keys like dual-function keys insofar as they can be
    repeated by tapping then immediately (within TAPPING_TERM) holding
    again.
    p00ya committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    809465a View commit details
    Browse the repository at this point in the history
  5. Flush auto-shifted key

    When processing a different keypress record, register the outstanding
    key from the auto-shift.
    p00ya committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    a80ff49 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eb13f20 View commit details
    Browse the repository at this point in the history
  7. Fix flaky unshifting

    p00ya committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    b02fcd5 View commit details
    Browse the repository at this point in the history
  8. Update docs for auto shift

    Update the auto shift docs to reflect that repeats now work.
    p00ya committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    5ef01bd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a0b8854 View commit details
    Browse the repository at this point in the history
  10. snake_case

    IsaacElenbaas authored and p00ya committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    92bafff View commit details
    Browse the repository at this point in the history
  11. cformat, requested changes

    IsaacElenbaas authored and p00ya committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    ea50e83 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cae2d31 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    76457de View commit details
    Browse the repository at this point in the history
  14. clang-format

    p00ya committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    339fe5b View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2020

  1. Configuration menu
    Copy the full SHA
    2a56184 View commit details
    Browse the repository at this point in the history
  2. Manual shift fixes

    IsaacElenbaas committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    f58ead5 View commit details
    Browse the repository at this point in the history
  3. A few changes.

     - Functions working how I want them to
     - Fixed press->press->(release first) releasing both AS keys
     - Updated docs, though I'm not sure if they're clear enough
    IsaacElenbaas committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    3387110 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d98342 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    280b801 View commit details
    Browse the repository at this point in the history
  6. Minor comment changes.

    IsaacElenbaas committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    eb96a3b View commit details
    Browse the repository at this point in the history