Add Support for USB programmable buttons (#12950)
This commit is contained in:
parent
1a68feb842
commit
83988597f4
22 changed files with 436 additions and 14 deletions
|
@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include "keycode.h"
|
||||
#include "keyboard.h"
|
||||
#include "mousekey.h"
|
||||
#include "programmable_button.h"
|
||||
#include "command.h"
|
||||
#include "led.h"
|
||||
#include "action_layer.h"
|
||||
|
@ -988,6 +989,10 @@ void clear_keyboard_but_mods_and_keys() {
|
|||
mousekey_clear();
|
||||
mousekey_send();
|
||||
#endif
|
||||
#ifdef PROGRAMMABLE_BUTTON_ENABLE
|
||||
programmable_button_clear();
|
||||
programmable_button_send();
|
||||
#endif
|
||||
}
|
||||
|
||||
/** \brief Utilities for actions. (FIXME: Needs better description)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue