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
Remove unused fn_actions[] and action_function() #4829
Conversation
For now, at least, I think it would be best if these changes were only made to the default layouts. |
That would be a grand total of 10 keymaps affected. |
@drashna what should I do with this? Roll it back to just default keymaps? I'd really like to be rid of this "feature" that duplicates a whole bunch of others :) |
Yeah, for now. |
d9a407c
to
ce7bcfb
Compare
I've limited the scope of this PR to just the affected default keymaps, plus the following:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* master: (643 commits) [Keyboard] Remove hadron ver0 as it is no longer required (qmk#4921) Remove unused fn_actions[] and action_function() in default keymaps (qmk#4829) [Keyboard] KBD67: enable bootmagic lite by default (qmk#4931) [Keymap] Adding keymap for Nyquist (qmk#4918) Optimize/Update the new_project script (qmk#4920) Remove lfkeyboards parent rules.mk as its only required for mini1800 [Keyboard] Add BDN9 (qmk#4919) [Keyboard] Add KBD67 Hotswap Support (qmk#4916) Fixup the clueboard 66 info.json Clueboard refresh (qmk#4902) Give the keymap folder the proper name Fix layouts/default/66_iso keymap [Keyboard] Add DataHand keyboard support (qmk#4847) [Keymap] Add a compile-time provided macro and assign to _FL (qmk#4908) Added info.json for TGR Alice Always read two bytes from the endpoint if we have two bytes to read Rename i2c_slave functions so it can coexist with i2c_master (qmk#4875) Fix for ISO layout in tada68:rys (qmk#4906) [Keyboard] Added TGR Alice keyboard support (qmk#4896) handwired/retro_refit: refactor, Configurator support and readme update (qmk#4899) ...
* master: (60 commits) [Keymap] New kbd67/hotswap keymap for writing both code and math (qmk#4933) Add support for Clueboard 66% rev4 Fix a typo in link to the Pro Micro ISP firmware [Keyboard] Remove hadron ver0 as it is no longer required (qmk#4921) Remove unused fn_actions[] and action_function() in default keymaps (qmk#4829) [Keyboard] KBD67: enable bootmagic lite by default (qmk#4931) [Keymap] Adding keymap for Nyquist (qmk#4918) Optimize/Update the new_project script (qmk#4920) Remove lfkeyboards parent rules.mk as its only required for mini1800 [Keyboard] Add BDN9 (qmk#4919) [Keyboard] Add KBD67 Hotswap Support (qmk#4916) Fixup the clueboard 66 info.json Clueboard refresh (qmk#4902) Give the keymap folder the proper name Fix layouts/default/66_iso keymap [Keyboard] Add DataHand keyboard support (qmk#4847) [Keymap] Add a compile-time provided macro and assign to _FL (qmk#4908) Added info.json for TGR Alice Always read two bytes from the endpoint if we have two bytes to read Rename i2c_slave functions so it can coexist with i2c_master (qmk#4875) ...
Description
#4820, part 2.
I did a repo-wide search for
fn_actions
, ignoring anything that isn't a keymap, then went into each result and looked for the regexF[UN\(]
(function keycodes appear asF(n)
,FUNC(n)
,KC_FNn
, orFN_n
in the case of layouts that prependKC_
). Any entries infn_actions
that weren't referenced were removed.Next up I will be switching
ACTION_LAYER_MOMENTARY()
,ACTION_LAYER_TAP_KEY()
andACTION_LAYER_TAP_TOGGLE()
toMO()
,LT()
andTT()
respectively.Types of changes
Issues Fixed or Closed by this PR
Checklist: