diff options
author | Xyverz <[email protected]> | 2017-02-20 23:54:09 -0800 |
---|---|---|
committer | Xyverz <[email protected]> | 2017-02-20 23:54:09 -0800 |
commit | bf6f7a623dbe4e3bba4bcc6d86ac28b842226825 (patch) | |
tree | 59ce47b0d4b21a2606e1f6d367317af8bdbd06ae /tmk_core/common/action.c | |
parent | ca1ec7b121c973fae614e69093f40ee9ba25e629 (diff) | |
parent | 7ff41df32c29bca4e3a6efc3047b8fa93bb99b92 (diff) | |
download | qmk_firmware-bf6f7a623dbe4e3bba4bcc6d86ac28b842226825.tar.gz qmk_firmware-bf6f7a623dbe4e3bba4bcc6d86ac28b842226825.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tmk_core/common/action.c')
-rw-r--r-- | tmk_core/common/action.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index f03670a7f7..94de36918d 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -33,6 +33,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "nodebug.h" #endif +#ifdef FAUXCLICKY_ENABLE +#include <fauxclicky.h> +#endif void action_exec(keyevent_t event) { @@ -41,6 +44,16 @@ void action_exec(keyevent_t event) dprint("EVENT: "); debug_event(event); dprintln(); } +#ifdef FAUXCLICKY_ENABLE + if (IS_PRESSED(event)) { + FAUXCLICKY_ACTION_PRESS; + } + if (IS_RELEASED(event)) { + FAUXCLICKY_ACTION_RELEASE; + } + fauxclicky_check(); +#endif + #ifdef ONEHAND_ENABLE if (!IS_NOEVENT(event)) { process_hand_swap(&event); |