summaryrefslogtreecommitdiff
path: root/keyboards
AgeCommit message (Collapse)Author
2020-05-21[Keyboard] Add support for Ace of Spades TKL keyboard (#9128)Rys Sommefeldt
* Add support for Ace of Spades * Fix the F-row mappings * Add the tkl_iso layout * Put KC_PAUS back in place of top layer reset * aholland909 personal keymap for Ace of Spades * Address PR feedback and rename to aos/tkl * Rename keyboard implementation filenames * Remove unnecessary layers * info.json for the configurator
2020-05-21[Keymap] Kyria: Updated personal keymap, added asapjockey's keymap (#8019)Thomas Baart
* Updated personal keymap, added asapjockey's keymap * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Fixed layers, brackets * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c * Update keyboards/kyria/keymaps/asapjockey/keymap.c
2020-05-20Enable backlight breathing support for the TADA68 (#9145)Parker Coates
The factory TMK firmware for the TADA68 supports backlight breathing, so I was surprised when the BL_BRTG key I set up in the online QMK configurator didn't work. As far as I can tell, this was just a simple omission.
2020-05-20Add VIA Keymap to Liminal Directory (#8965)Garret G
* add via keymap to liminal keyboard * fix keymap clarifications * Update keyboards/the_royal/liminal/keymaps/via/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-authored-by: TheRoyalSweatshirt <TheRoyalSweatshirt@github.com> Co-authored-by: Garret G <45295190+TheRoyalSweatshirt@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-05-19Adding Chimera Ortho Plus (#9093)pcoleman
* Added Chimera Ortho keymap * Cleaning up the rules * Removing firmware sizes * Modified URLs to point to new locations * Remove _quantum functions from custom matrix.c code * Fix 1<col instead of 1<<col typo in matrix_is_on() * Make PREVENT_STUCK_MODIFIERS the default * Removing the IS_COMMAND custom definition * Adding info.json * Adding config overrides * Adjusting for the reformat * removing backlight reference * fixing some compile issues * Fixing a matrix issue * Update keyboards/chimera_ortho_plus/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.h Co-authored-by: Ryan <fauxpark@gmail.com> * lining up the matrix * Update keyboards/chimera_ortho_plus/readme.md Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/chimera_ortho_plus/readme.md Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/chimera_ortho_plus/info.json Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.h Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/config.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2020-05-19Added custom keymap with french mac layout. (#9115)Kamel Makhloufi
* Added custom keymap with french mac layout. * Update keyboards/xd60/keymaps/melka/config.h Tested on my branch, seems to work well, thanks @drashna ! Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd60/keymaps/melka/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/xd60/keymaps/melka/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/xd60/keymaps/melka/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Comitted changes from merge request - Removed rules.mk Co-authored-by: Kamel Makhloufi <fabmanager@esaaa.fr> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-05-19Art userspace (#9068)artjomsR
* added git codes * started git layer * finished structure for git layer. MOD: replaced mouse with mod keys on right hand * layout changing layer * mod enter. default qwerty layer. removed mods on number layer * workman layout. git log, show. blank enter and bsspace * config layer. toggleable ctrl/alt for OS * removed keymap comments * strings and combos layers. sarcasm and ctrl_ctv. RGB configs * reintroduced enter and bspace. delete backspace as a function. git push -u and checkout -b * string macros * OS specific home/end * OS mac & win keys. N delete global backspace * refactored backspace functions * ctrl lctv macro * base layer toggle fix * whitespace * BS + L for FF and chrome * replaced 1 keycode with userspace * added userspace config * remove comments * add another keycode with a variable * moved all keymaps and codes to common file * ctrl z mod * removed ctrl z * sipmlified OS functions * moved is_win to keyboard level * added mac alt tab * added ctrl tab in mac + clean up variables in art.h * tild string macro. added mac left/right + home/end * mac ctrl backspace * enum layers for default layout * added ergodone keymap * ergodone compiles * clean up * clean up * removed obsolete OS_HOME/END * removed var * added ctrl nav to split75 * ergodone clean up + caps lock fix 75 * fix mac ctrl alt on right handside. added mac alt tab left right * fix ergodone config override * fixed alt left right not working on mac * added OS ctr_alt * mac ctrl del. fix tild * simplified tild macro * git stash apply * send_string_remembering_lenght * shifted strings print * restored KC_BSPACE functionality * moved KC_BSPC * numpad layer on Fn * media lights * ergodone final clean up * ergodone GIT AND MEDIA layers * ergodone GIT LAYER switch * default behaviour for all modified keys on BASE layer * refactored logic for default keycodes * ergodone final layers * ctrl_cav for translation and ctrl_l fix * toggleable layer with numpad * comments * numpad layer * Update users/art/config.h Co-authored-by: Joel Challis <git@zvecr.com> * enable dynamic macros for split75 * git branch and develop/master * removed esc from Nav * ergodone: ctrl alt for shift layer * macros and right alt for ergodone * fix ergodone N_backspace not working on git layers * mac language switch with alt+shift * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/ergodone/keymaps/art/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.h Co-authored-by: Ryan <fauxpark@gmail.com> * flashing leds to indicate current os * using rshift on shifted layers Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-05-19Add Via support to the YMD09 (#9108)Shadowtrance
* Add Via support to the YMD09 * Update keyboards/ymdk/ymd09/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/ymdk/ymd09/keymaps/via/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-05-19Candybar: VIA support for lefty and righty (#9066)TerryMathews
* Candybar: VIA support for lefty and righty * Update keyboards/candybar/lefty/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/candybar/righty/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/candybar/lefty/keymaps/via/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
2020-05-19Gherkin 26, 27, 28, 30 keys compatibility (#9136)Stefano
* Gherkin 26, 27, 28, 30 compatibility * Update readme.md Co-authored-by: stevexyz <warste@removethisandleavegoogle.com>
2020-05-19[Keyboard] Add Bakeneko 80 keyboard (#9118)Koichi Katano
* Add Bakeneko 80 keyboard * Update keyboards/bakeneko80/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/bakeneko80/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/bakeneko80/config.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-05-19[Keymap] Add Via support to ALPS64 (#9041)jja2000
2020-05-19[Keyboard] add kbdfans/maja rgb keyboard (#9114)moyi4681
* add kbd67 rev2 via support, kbd67mkiirgb small change add kbd67 rev2 via support, kbd67mkiirgb small change * Update keyboards/kbdfans/kbd67/rev2/keymaps/via/keymap.c * Update keyboards/kbdfans/kbd67/rev2/keymaps/via/keymap.c * define DYNAMIC_KEYMAP_LAYER_COUNT 2 * add kbdfans/maja rgb keyboard * Update keyboards/kbdfans/maja/maja.c * Update keyboards/kbdfans/maja/readme.md * Update keyboards/kbdfans/maja/keymaps/default/keymap.c * Update keyboards/kbdfans/maja/maja.h * Update keyboards/kbdfans/maja/maja.c * Update keyboards/kbdfans/maja/keymaps/default/keymap.c * Update keyboards/kbdfans/maja/keymaps/via/keymap.c * Update keyboards/kbdfans/maja/maja.c * Update keyboards/kbdfans/maja/keymaps/via/keymap.c * Update readme.md * Update readme.md * Update keyboards/kbdfans/maja/rules.mk * Update keyboards/kbdfans/maja/keymaps/via/keymap.c * Update keyboards/kbdfans/maja/rules.mk * Update keyboards/kbdfans/maja/rules.mk * Update keyboards/kbdfans/maja/keymaps/default/keymap.c * Update keyboards/kbdfans/maja/keymaps/via/keymap.c * Update keyboards/kbdfans/maja/config.h * Update keyboards/kbdfans/maja/readme.md
2020-05-19[Keyboard] Add NumDiscipline Keyboard - Modified Version of Discipline With ↵Eric Lau
Numpad (#9112) * NumDiscipline firmware compiled * renamed folder, deleted config.h from default * deleted commented out code * fix readme make example for lowercase foldername * Update keyboards/ericrlau/numdiscipline/rev1/rules.mk * Update product name * Apply suggestions from code review - layout naming and key object ordering
2020-05-19Add SPI 25xx EEPROM support. (#8780)Nick Brassel
2020-05-18[Keyboard] Add Bookerboard support (#9097)AlisGraveNil
* 5/14/20 first push for bookerboard * Update rules.mk * Update keyboards/clawsome/bookerboard/rules.mk Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/clawsome/bookerboard/keymaps/default/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/clawsome/bookerboard/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/clawsome/bookerboard/bookerboard.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/clawsome/bookerboard/bookerboard.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * 5/15/20 * 2 * 3 * Update keyboards/clawsome/bookerboard/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/clawsome/bookerboard/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/clawsome/bookerboard/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/clawsome/bookerboard/readme.md Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/clawsome/bookerboard/readme.md Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-05-18Add SofleKeyboard support to QMK firmware. (#8970)Drashna Jaelre
* Add SofleKeyboard support to QMK firmware. * Sofle: Remove LAYOUT_kc macro for default layout. Remove unnecessary code. * Fix mistake in the latest commit * Remove duplicated layers for MAC/WIN support * Improve according to suggestion in PR * Add more improvements from PR * Fix a typo in README.md Co-authored-by: Nick Brassel <nick@tzarc.org> * Remove unneeded break. Co-authored-by: Nick Brassel <nick@tzarc.org> * Remove unneeded break. Co-authored-by: Nick Brassel <nick@tzarc.org> * Apply suggestions from code review Remove unneeded breaks. Co-authored-by: Nick Brassel <nick@tzarc.org> * Apply suggestions from code review Remove unneeded breaks (few more forgotten ones). Co-authored-by: Nick Brassel <nick@tzarc.org> * Apply suggestions from code review Co-authored-by: Drashna Jaelre <drashna@live.com> * Remove TAPPING_FORCE_HOLD from default keymap. * Add TAP_CODE_DELAY 10. Fix a typo (compilation error) Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-05-18Add TAP_CODE_DELAY 10. Fix a typo (compilation error)Josef Adamcik
2020-05-18Remove TAPPING_FORCE_HOLD from default keymap.Josef Adamčík
2020-05-18Apply suggestions from code reviewJosef Adamčík
Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-05-18Apply suggestions from code review Josef Adamčík
Remove unneeded breaks (few more forgotten ones). Co-authored-by: Nick Brassel <nick@tzarc.org>
2020-05-18Apply suggestions from code review Josef Adamčík
Remove unneeded breaks. Co-authored-by: Nick Brassel <nick@tzarc.org>
2020-05-18Remove unneeded break.Josef Adamčík
Co-authored-by: Nick Brassel <nick@tzarc.org>
2020-05-18Remove unneeded break.Josef Adamčík
Co-authored-by: Nick Brassel <nick@tzarc.org>
2020-05-18Fix a typo in README.mdJosef Adamčík
Co-authored-by: Nick Brassel <nick@tzarc.org>
2020-05-18[Keymap] added my gergo keymap (#8476)AbstractKB
* added my gergo keymap * updated personal bfo9000 keymap * fixed redundancy, extended debounce time
2020-05-18[Keyboard] Arabica37 (#8471)CalciumNitride
* adding arabica37 * jp_keymap * update * try refactor to use split_common * fix and update to use split_common * update and adjust * clean up * update * update * fix keymap.c * update * oled logo * fix info.json * remove pro_micro.h * remove KC_ macro * move font file
2020-05-18[Keymap] Add Via keymap for Contra (#9119)Frothy
* Add Via keymap for Contra * Added Via-enabled keymap * Changed VENDOR_ID from 0xFEED to 0x4354 (CT) * Removed unnecessary RGB mappings * PR changes * Removed empty via/config.h * Changed product ID from 0x6060 to 0x0001
2020-05-18[Keyboard] handwired/twadlee/tp69 (#9013)Tracy Wadleigh
Includes info.json for custom layout and a minimal default keymap.
2020-05-18[Keyboard] KBDClack kaishi65 (#9089)powerlemming
* Added kaishi65 keyboard * added kaishi65 * Update readme.md * Updated info.json and keymap * Updated folder structure * Updated readme + keymap * Updated info.json * Update keyboards/KBDClack/kaishi65/readme.md * Update keyboards/KBDClack/kaishi65/kaishi65.c * Update keyboards/KBDClack/kaishi65/readme.md * Deleted \keymaps\config.h * Update keyboards/KBDClack/kaishi65/config.h * Folder name changed * Update keyboards/kbdclack/kaishi65/info.json * Update keyboards/kbdclack/kaishi65/kaishi65.h * Update keyboards/kbdclack/kaishi65/keymaps/default/keymap.c * Update keyboards/kbdclack/kaishi65/rules.mk * Update keyboards/kbdclack/kaishi65/keymaps/default/keymap.c
2020-05-18Fix typo in led_config for dztech/dz65rgb (#9122)NekuSoul
2020-05-17Remove `DEBUG_LEVEL` from V-USB rules.mk (#9117)Ryan
2020-05-17[Pulse4k] Add personal keymapMaxr1998
2020-05-17[Pulse4k] Various improvementsMaxr1998
Rework led adjustment combo (have it defined by keymap now), reformat code, update copyright
2020-05-16DZ60: update to current template & code style (#9113)Ryan
2020-05-16[Keymap] Add Via support to the Melody96 (#9050)Vincent Lee
* Add files needed to The Via support on Melody 96 * Remove manufacture name from product name * replace blank key with Transparent keys * Update keyboards/melody96/rules.mk * Update keyboards/melody96/keymaps/via/keymap.c * Change Product ID to "M" + 96 * Update keyboards/melody96/keymaps/via/rules.mk * add LTO to via's local file * Update keyboards/melody96/rules.mk
2020-05-16[Keymap] VIA Support: Exclusive E7-V1 (#9038)MechMerlin
* add a VIA Keymap * update VID and PID * update readme * Update keyboards/exclusive/e7v1/readme.md
2020-05-16[Keyboard] Rebound rev3 (#9101)Rossman360
* more stoof * readme update * reverting keymap * re-adding userspace * new userspace needed * no want 0 under thumb * gettin fancier with my knob * macro fix * had pins for oled ver * wait, these are the right pins * reduntant line * image fix * get highest layer every day * whoops * correct rev name in json * a few good catches * what I had planned
2020-05-15[Phoebe] Keymap improvements (#9092)Max Rumpf
Enable leader key with some useful macros, use fancier design for keymap previews in code, other smaller tweaks
2020-05-15[Keymap] Update personal userspace and keymaps (#9082)Konstantin Đorđević
* Replace custom RCTRL implementation with built-in LM Caveat: sends LCtrl instead of RCtrl * Enable VIA support in KBD6X keymap * Disable LTO on ChibiOS boards * Disable locking support and Magic keycodes for all keymaps * Organize and annotate rules.mk and config.h files * Enable Console for Melody96 keymap * L_RANGE_KEYMAP → LAYERS_KEYMAP * Revert "Replace custom RCTRL implementation with built-in LM" This reverts commit 17d706a82d7e31b53cd84efeb9b2ddb9922a2368. * Set DYNAMIC_KEYMAP_LAYER_COUNT to 3 in Doro67 and Wasdat keymaps * Enable Bootmagic Lite for all VIA keymaps
2020-05-15[Keymap] Added the K.O,Y layout for the xd75 and atreus62 boards (#9079)Paul Scheikl
* added koy layout to qmk on xd75 board * added koy keymap for the atreus62 board * reduced time for autoshift * added documentation * changed layer 7 to a tap toggle and adjusted mouse speed a little * Update keyboards/xd75/keymaps/ScheiklP/koy_keys_on_quertz_de_latin1.h * Update keyboards/xd75/keymaps/ScheiklP/koy_keys_on_quertz_de_latin1.h * Update keyboards/xd75/keymaps/ScheiklP/koy_common.h * Update keyboards/atreus62/keymaps/ScheiklP/koy_common.h * Update keyboards/atreus62/keymaps/ScheiklP/koy_keys_on_quertz_de_latin1.h * Update keyboards/atreus62/keymaps/ScheiklP/koy_keys_on_quertz_de_latin1.h * changed keymap to lowercase name to conform with qmk guidelines * Update keyboards/xd75/keymaps/scheiklp/rules.mk remove unnecessary rules * Update keyboards/atreus62/keymaps/scheiklp/rules.mk remove unnecessary rules * moved common files for koy layouts to the users folder and removed empty file * Update keyboards/atreus62/keymaps/scheiklp/keymap.c * Update keyboards/xd75/keymaps/scheiklp/readme.md * Update keyboards/xd75/keymaps/scheiklp/readme.md * Update keyboards/atreus62/keymaps/scheiklp/readme.md * Update keyboards/atreus62/keymaps/scheiklp/readme.md
2020-05-15[Keymap] adds pvillano's preonic keymap (#9106)Peter (Rocky) Villano
* adds pvillano's preonic keymap * Remove unnecessary "\" (tested - ok)
2020-05-15[Keyboard] Added wilba.tech WT60-C (#9025)Wilba
2020-05-16update dlg's tada68 keymap (#9098)dlgoodr
2020-05-15stanrc85 userspace and keymap updates (#9103)stanrc85
* Update flash command in userspace * Switch to BackspaceFN on split spacebar
2020-05-15[Keyboard] Added wilba.tech WT80-BC (#9024)Wilba
* Added WT80-BC * Update keyboards/wilba_tech/wt80_bc/info.json * Update keyboards/wilba_tech/wt80_bc/info.json * Update keyboards/wilba_tech/wt80_bc/rules.mk * Update keyboards/wilba_tech/wt80_bc/rules.mk * Update keyboards/wilba_tech/wt80_bc/rules.mk * Update keyboards/wilba_tech/wt80_bc/wt80_bc.h
2020-05-15Fixed Murciélago info.json to work with qmk configurator -> wrong ↵Adrian
assignments (#9095) * fixed json to work with qmk configurator updates to readme * Change spacing of keys * changed overall size of keymap
2020-05-14Fix bad key labels in ascii art (#9094)Conor Fischer
2020-05-13added murcielago keyboard (#8920)Adrian
* Squashed pull request for murcielago * removed rotation prior to creating info.json
2020-05-14optimize source code for size. reduce compiled binary size 292 bytes (#8428)bottilabo
* optimize source code for size. reduce compiled binary size 292 bytes * more size optimization