1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/users
MakotoKurauchi 2d14d12c74
[Keyboard] Helix add split common option (#7718)
* is_master, has_usb() move to rev2.[hc]

* Do recent helix/rev2 changes to helix/pico as well.

helix/pico/matrix.c: remove 'is_master'
helix/pico/pico.c: add 'is_master'
helix/pico/pico.h: add 'has_usb()' macro
helix/pico/split_util.c: remove 'setup_handedness()' 'has_usb()', add 'is_helix_master()' etc

* add HELIX=scan option into {rev2/pico}/local_features.mk

Made DEBUG_MATRIX_SCAN_RATE easy to use.

* Changed rules.mk to link "helix/local_drivers/ssd1306.c" only when OLED_ENABLE = yes.

* Added option to use split_common for helix/rev2, helix/pico keyboard.

how to build:
 ### build helix/pico (HelixPico) with helix current codes
  $ make helix/pico:KEY_MAP
  $ make helix/pico/back:KEY_MAP

 ### build helix/rev2 (Helix or Helix beta) with helix current codes
  $ make helix:KEY_MAP
  $ make helix/rev2/back:KEY_MAP
  $ make helix/rev2/under:KEY_MAP
  $ make helix/rev2/oled:KEY_MAP
  $ make helix/rev2/oled/back:KEY_MAP
  $ make helix/rev2/oled/under:KEY_MAP

 ### build helix/pico (HelixPico) with split_common codes
  $ make helix/pico/sc:KEY_MAP
  $ make helix/pico/sc/back:KEY_MAP
  $ make helix/pico/sc/under:KEY_MAP

 ### build helix/rev2 (Helix) with split_common codes
  $ make helix/rev2/sc:KEY_MAP
  $ make helix/rev2/sc/back:KEY_MAP
  $ make helix/rev2/sc/under:KEY_MAP
  $ make helix/rev2/sc/oled:KEY_MAP
  $ make helix/rev2/sc/oledback:KEY_MAP
  $ make helix/rev2/sc/oledunder:KEY_MAP

* add matrix_slave_scan_user() to helix/rev2/rev2.c, helix/pico/pico.h

* Changed 'helix:xulkal' to always use split_common and removed ad hoc code.

Added the following line to 'helix/rev2/keymaps/xulkal/rules.mk':

        SPLIT_KEYBOARD = yes

Removed the following ad hoc code from 'users/xulkal/custom_oled.c':

        #if KEYBOARD_helix_rev2
        extern uint8_t is_master;
        bool is_keyboard_master(void) { return is_master; }
        #endif

* add '#define DIODE_DIRECTION COL2ROW' into helix/{rev2|pico}/config.h

This commit does not change the build result.

* update helix readme

* keyboards/helix/readme.md
* keyboards/helix/pico/keymaps/default/readme.md
* keyboards/helix/rev2/keymaps/default/readme.md

Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
2020-03-10 01:33:46 -07:00
..
333fred Add ergodash layout, update the backlight numbers for the rgb backlight to be the actual intended colors. 2019-06-20 09:25:41 -07:00
_example Creates a userspace for keymaps (#1559) 2017-10-21 11:44:11 -10:00
alfrdmalr [Keymap] Feature/alfrdmalr/keymap update (#8174) 2020-03-03 10:13:42 -08:00
arkag [Keymap] Arkag Userspace Update (#5438) 2019-03-18 10:31:09 -07:00
bbaserdem Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
bcat Tweak my TAPPING_TERM and be more futureproof (#8143) 2020-02-11 03:11:09 +00:00
billypython Change Command keycode defaults to match corresponding Bootmagic codes (#5078) 2019-02-17 22:23:32 -08:00
bocaj Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
cbbrowne Adopted LAYOUT, added some keys (#5320) 2019-03-05 12:22:51 -08:00
cjuniet [Keymap] Add @cjuniet's keymap/layout/userspace (#8258) 2020-03-04 17:19:26 -08:00
csc027 [Keymap] csc027/macro-sync-keymap (#7873) 2020-01-13 09:41:13 -08:00
curry Local Changes 2020-01-23 22:41:15 +11:00
d4mation [Keymap] Added userspace for d4mation. Included their keymap for the Atreus62 (#7483) 2019-12-18 00:59:12 -08:00
danielo515 [Keymap] update to Danielo515 keymaps (#8004) 2020-01-27 14:42:38 -08:00
datagrok create users/datagrok (#7653) 2020-01-26 23:26:40 -05:00
dhertz Dhertz' keymaps (#3094) 2018-06-02 08:50:01 -07:00
doogle999 Made a userspace that allows you to use your keyboard as an order of operations based calculator (#2864) 2018-10-23 12:44:48 -07:00
drashna Clean up includes for glcdfont headers (#7745) 2020-03-01 17:56:50 +11:00
dshields [Keymap] Remove dynamic macro customization now it's a core feature. (#7301) 2019-11-08 10:31:36 -08:00
dudeofawesome layout(preonic): update to dudeofawesome's layout (#2507) 2018-03-16 16:22:33 -04:00
edvorakjp Update edvorak keymap simplify (#5350) 2019-03-09 08:22:21 -08:00
ericgebhart Keyboard that works on Qwerty or Bepo OS keyboards. (#3149) 2018-06-08 10:06:25 -07:00
gary [Keymap] Adding garyjzhao's Iris keymap (#6980) 2019-10-09 12:05:31 -07:00
gordon Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
hvp [Keymap] Hvp baseline19 (#7690) 2020-01-02 11:31:54 -08:00
ibnuda [Keymap] new userspace for ibnuda (#8221) 2020-03-03 13:46:11 -08:00
ishtob Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
issmirnov [Keymap] Add issmirnov {user, ergodox, levinson} files. (#7239) 2019-11-08 19:17:21 -08:00
jackhumbert Creates a userspace for keymaps (#1559) 2017-10-21 11:44:11 -10:00
jarred [Keymap] Add leaf60 and tada68 keymaps (#6645) 2019-08-31 11:20:10 -07:00
kageurufu Features/ws2812 matrix driver (#5418) 2019-04-14 17:50:35 -07:00
konstantin Update personal userspace and keymaps (#6876) 2019-10-03 09:46:27 +10:00
kuatsure [Keymap] changes to my userspace and preonic keymap ( spring 2019 ) (#5881) 2019-05-22 21:40:16 -07:00
kuchosauronad0 [Keymap] Update to Userspace kuchosauronad0 (#6899) 2019-10-29 22:52:24 -07:00
losinggeneration Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
manna-harbour_miryoku [Keymap] Display logo for caps lock indication on crkbd using old OLED driver (#7535) 2019-12-07 23:08:12 -08:00
mattly [Keymap] finally committing my updates (#6904) 2019-10-05 12:22:52 -07:00
mechmerlin Merlin's userspace updates (#8074) 2020-02-03 22:37:01 +01:00
mguterl [Keymap] Add userspace and personal keymaps (#7093) 2019-10-22 10:41:14 -07:00
mtdjr Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
mverteuil [Keymap] Added mverteuil keymaps and userspace common code (#7876) 2020-01-18 11:24:56 -08:00
narze [Keymap] Add narze userspace (#6652) 2019-09-07 08:06:30 -07:00
ninjonas [Keymap] ninjonas keymap updates (#8170) 2020-02-17 01:30:03 -08:00
not-quite-neo Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
nstickney [Keymap] update @nstickney's keymaps (#6076) 2019-06-06 13:00:52 -07:00
pvinis [Keymap] Pvinis/update for iris (#5889) 2019-05-16 09:38:28 -07:00
replicaJunction Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
ridingqwerty ridingqwerty: userspace update (#8076) 2020-02-04 20:17:10 +01:00
rishka [Keymap] Ergodox EZ and dactyl-manuform keymaps for rishka (#7051) 2019-10-21 20:37:33 -07:00
romus Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
rossman360 [Keymap] adding personal rebound keymap (#7956) 2020-01-21 18:18:18 -08:00
rs [Keymap] crkbd/keymaps/rs: add rs keymap to corne keyboard and adapt others (#5181) 2019-05-07 10:43:08 -07:00
sethBarberee [Keymap] Adding my userspace and keymaps (#6496) 2019-08-13 10:25:51 -07:00
sigma Keymap: add sun_usb keymap for sigma (#4138) 2018-10-15 10:49:51 -07:00
spacebarracecar [Keymap] Update to personal keymaps (#6136) 2019-06-16 17:35:20 -07:00
stanrc85 Userspace and keymap updates (#8037) 2020-01-29 17:23:55 -05:00
talljoe [Keymap] Fix include following Wilba refactor (#6538) 2019-08-14 12:31:18 -07:00
tominabox1 Clean up includes for glcdfont headers (#7745) 2020-03-01 17:56:50 +11:00
turbomech Remove RGB_SMOD alias and replace uses with RGB_MOD (#4319) 2018-11-27 15:34:06 -08:00
twschum [Keymap] Add DZ60, Levinson keymaps, twschum user files (#7358) 2019-11-21 03:07:33 -08:00
vosechu [Keymap] Add userspace files for vosechu (#4912) 2019-01-26 07:55:42 -08:00
wanleg Wanleg tuneup / additions (#5752) 2019-05-01 20:29:00 -07:00
xtonhasvim Keymap: Fix missing braces around initializer error on older gcc (#3840) 2018-09-03 16:55:06 -07:00
xulkal [Keyboard] Helix add split common option (#7718) 2020-03-10 01:33:46 -07:00
yanfali [keymap] Update audio controls on community (#8163) 2020-02-14 11:03:35 -08:00
yet-another-developer [Keymap] Ergodash keymap for yet-another-developer (#7046) 2019-10-20 11:07:56 -07:00
zer09 Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
readme.md Creates a userspace for keymaps (#1559) 2017-10-21 11:44:11 -10:00

User space

This is a place for users to put code that they might use between keyboards. If you build the keymap mine, /users/mine/rules.mk will be included in your build, and /users/mine/ will be in your path - keep these things in mind when naming your files and referencing them from other places.