sprintf always adds a NULL terminator at the end of the buffer it works on.
A few places made just enough space for the resulting string, but not the terminator.
So this just adds one to the buffer size to make room for it.
`list_keyboards` replicates the `make list-keyboards` by globbing for all paths
that include `rules.mk` and then removing the paths that include `keymaps`.
This basis of this cli command could be reused in the future as a util, but is
not done so here since this would be the only place that would use it currently
Resolves#6911
* [refactor] updating ninjonas layout blocks and standardized LOWER & ADJUST
* [feat] added new macro M_TERM to open MacOS terminal app
* [feat] introducing mod-tap functionality on keymap
* [fix] fixing oled turning on when it feels like it. thanks @drashna for helping
* [feat] updating OLED to rotate logo 180 degrees
* [feat] updating keymaps to reflect VSCode frequent habits
* [refactor] converting crkbd modifier keys to layer blocks
* [fix(#6903)] converting _delay_ms to wait_ms on launching terminal macro
* [keymap] dactyl_left
Special layout for the left side of the ergodox dactyl.
* [keymap] dactyl_left
Special layout for the left side of the ergodox dactyl.
* Updated readme.md
* Update keyboards/handwired/dactyl_left/readme.md
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/handwired/dactyl_left/readme.md
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/handwired/dactyl_left/info.json
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/handwired/dactyl_left/info.json
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/handwired/dactyl_left/info.json
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Addressing changes for PR
removed layers.json and 15-24 from rules.mk
* Updating keymap for better a default
Hopefully this works as a starting point
* Created personal keymap for dz60 hhkb layout.
* Renamed directory joooosh to joooosh_hhkb... Removed redundant KC_TRNS alias #define... Updated to use KC_TRNS alias defined in QMK_KEYBOARD_H.
* Initial Lily58 keymap
* Still not sure if these thumb key placements are optimal or not. I
might want to move space (enter) one key to the left (right),
respectively.
* Also unsure how I feel about Esc on a mod tap key with Ctrl... might
move it back to its own key and relocate the = key.
* Missing bindings for Print Screen, Scroll Lock, Pause/Break.
* Make Lily58 layout support operation without numrow
* Move some Lily58 modifiers around
* Move nav keys to more consistent locations
* Rebinding shift on Raise is stupid
* Don't stomp Ctrl on the Lower layer
* Tweak bottom row a little bit
* add ISO-DE layout with 5x1u and split right shift
* cleaning up
* renamed readme.md and layout. added underglow
* change layout name in info.json
* rename readme.md
* renamed layout in comment. added rgb keys to visualisation
* change Layout name in dz60.h visualization
* initial commit
restart of osa development
* minor changes
Minor changes
mostly changing naming and comment out rgb modes
* initial commit
restart of osa development
* minor changes
Minor changes
mostly changing naming and comment out rgb modes
* more minor changes
comment out some functions
correct some spelling errors
change some of the descriptive text
* Minor Changes
Minor changers per PR requests
* Minor Changes
Minor changes per PR suggestions
* Major Changes
Per PR suggestion from noroadsleft:
- changed macro to LAYOUT_all in info.json, dualsplit/keymap.c and ocm/keymap.c, and osa.h
- added osa.h macros for other layouts per suggestion and used suggested naming
- changed naming of layout macros to correspond to macros and naming in default/keymap.c, dualsplit/keymap.c, ocm/keymap.c, splitbs/keymap.c, and splitrs/keymap.c
- removed duplicate layers from all keymaps and edited per suggestions
- compiled each keymap to check for and correct any potential errors. all compiled with no errors
* Minor Change
- fixed imgur image link in readme.md to be correct format
* Minor Changes
changes to macro layouts in osa.h
changes to dualsplit/keymap.c - added arrows to layer 1
* Changes
- Made changes to info.json to match osa.h
- changes to osa.c enabling indicator LEDs
- changed "dualsplit" directory name to "all" to match keymap naming in osa.h, info.json, and keymap.c
- minor changes to all/keymap.c
* Update keyboards/sck/osa/rules.mk
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/sck/osa/readme.md
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Changes to info.json
- revert to info.json from version in b3b49c3 per requested changes
* production version of the PCB has the top two right most keys swapped around. There are only 6 protos in existence and one of them is mine so we can just do this.
* update readme by adding backticks
* initial commit
* fixup init_rows and read_rows routine
* fixup matrix based on Marcus's tracing info
* add a temporary keymap
* add notes
* use a standard tkl ansi keymap
* turn on that last column
* backslash and backspace row left to fix
* reorg from backslash to pgdn
* got the matrix done but the backspace location at K4N is still suspect
* add reset info into readme
* add qmk configurator support
* add community layout support
* remove uneeded keymap readme
* add a new column just for the reset switch
* change copyright dates
* add cautionary message to readme as we don't know about the lighting condition yet
* Update keyboards/duck/orion/v3/v3.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/duck/orion/v3/v3.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/duck/orion/v3/v3.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* change bootloader comments
* initial commit of skog_lite
* add layout macro from misterkeeb's tool
* add default keymap
* add pins used
* rgb support
* add tkl ansi community support
* update readmes
* add new layouts and configurator support
Features:
* Tap space for space, hold for cmd
* Tap caps lock for esc, hold for ctrl
* Dedicated key for entering default mode of yabai window manager
* Who needs arrow keys, anyways???
* Method for clearing all stuck-down mods
This fixes the following issue related to encoding on linux systems. Add
`universal_newlines=True` to subprocess.
<class 'TypeError'>
☒ a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/milc.py", line 564, in __call__
return self.__call__()
File "/usr/local/lib/python3.7/site-packages/milc.py", line 569, in __call__
return self._entrypoint(self)
File "$HOME/qmk_firmware/lib/python/qmk/cli/doctor.py", line 56, in doctor
for line in mm_check.stdout.split('\n'):
TypeError: a bytes-like object is required, not 'str'
* remove IT_PIPE duplicate and add IT_GRAD
IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC)
* rename IT_GRAD to IT_DEGR
* add missing plus_and_minus
* fix missing IT_ACUT definition
* change KC_LALT(KC_LSFT to LALT(LSFT
* Fix alignment
* remove leftover
* fix issue generated with chars while pushing
* fix typo
* fix LCBR and RCBR
* fix euro symbol
* fix RBRC
* change IT_LESS form KC_NUBS to KC_GRAVE
* add IT_TILDE and change IT_GRAV to IT_GRAVE
* add missing legends for accented vowels
* format for readability
* revert to commit befor I edit it
* initial commit
* edited to be easier to compare to _ansi.h
* remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h
I found out there were no difference at all
* fix missing #endif
* rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h
Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC)
* rename file
* redefines IT_BKSL and IT_PIPE based on KC_BKSL
* add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE
* Align bottom row in KBD6X keymap to match LAYOUT macro
* Remove TAP_HOLD_CAPS_DELAY override in userspace
* Change default USB polling rate to 1000 Hz
* Move media controls to nav cluster on Wasdat
* Add dz60:konstantin_b keymap
* Add personal keymap
* Additional readme note
* Fix typo's in readme
* Additional layer key info in readme
* Update keyboards/crkbd/keymaps/rpbaptist/config.h
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/crkbd/keymaps/rpbaptist/rules.mk
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/crkbd/keymaps/rpbaptist/keymap.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Remove redundant config
* Remove disabling of NO_ACTION_MACRO and NO_ACTION_FUNCTION
* Remove layer keycode macros
* Use layer_state_t instead of uint32_t
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Use get_highest_layer instead of biton32
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* OLED_ROTATION_90 instead of 180
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Use get_highest_layer instead of biton32
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Use get_highest_layer instead of biton32
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Revert "OLED_ROTATION_90 instead of 180"
This reverts commit f14a4353ab.
It messed up the logo on slave
* Use IS_LED_ON function to check LED status
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* first commit, skeleton code, not sure if working
* Owlet 60 working firmware, json not sure
* use json from kle to qmk converter
* deleted temporary text from owlet60.h
* owlet60 working oled and led firmware
* moved owlet60 to handwired
* updated readme.md
* Revert "owlet60 working oled and led firmware"
This reverts commit 27f9465aab.
* Revert "moved owlet60 to handwired"
This reverts commit 9b8e8344fc.
* revert changes, moved owlet60 to handwired, updated copyright blurb
* fixed readme.md
* removed duplicate items
* resolve merge artifact
* Update keyboards/handwired/owlet60/readme.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* check out merge artifacts with qmk master
* Update keyboards/handwired/owlet60/matrix.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/handwired/owlet60/matrix.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/handwired/owlet60/matrix.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/handwired/owlet60/matrix.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* removed redundant rule on oled_testing/rules.mk, refactored mux switching code on matrix.c