Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
okke-formsma authored and petejohanson committed Nov 3, 2020
1 parent 4f258ef commit 55b5936
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/include/zmk/events/keycode-state-changed.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ struct keycode_state_changed {

ZMK_EVENT_DECLARE(keycode_state_changed);

static inline struct keycode_state_changed *create_keycode_state_changed(u8_t usage_page, u32_t keycode, bool state) {
static inline struct keycode_state_changed *
create_keycode_state_changed(u8_t usage_page, u32_t keycode, bool state) {
struct keycode_state_changed *ev = new_keycode_state_changed();
ev->usage_page = usage_page;
ev->keycode = STRIP_MODS(keycode);
ev->implicit_modifiers = SELECT_MODS(keycode);
ev->implicit_modifiers = SELECT_MODS(keycode);
ev->state = state;
return ev;
}

0 comments on commit 55b5936

Please sign in to comment.