Skip to content

Commit

Permalink
IBus emoji input (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
MvEerd authored Apr 13, 2021
1 parent febadf6 commit d58bb04
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion config/lily58.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};

/*
* This inputs a poop emoji using IBus on Linux
* To do this on Windows you'd need WinCompose
* On MacOS you can use Unicode Hex Input
*/
poop: poop {
compatible = "zmk,behavior-macro";
label = "IBUS_POO";
#binding-cells = <0>;
bindings = <&kp LC(LS(U))>, <&kp N1>, <&kp F>, <&kp N4>, <&kp A>, <&kp N9>, <&kp SPACE>;
};
};

combos {
Expand Down Expand Up @@ -60,7 +72,7 @@
&kp TILDE &kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PRCNT &trans &kp LPAR &kp RPAR &kp LT &kp GT &kp PIPE
&kp GRAVE &kp CARET &kp AMPERSAND &kp ASTERISK &kp LPAR &kp RPAR &trans &kp LBRC &kp RBRC &kp LBKT &kp RBKT &kp TILDE
&kp TILDE &ext_power EP_ON &ext_power EP_OFF &ext_power EP_TOG &trans &trans &trans &trans &trans &kp MINUS &kp KP_PLUS &kp LBRC &kp RBRC &kp PIPE
&trans &trans &trans &trans &kp RG(D) &trans &tog 3 &trans
&trans &trans &trans &trans &kp RG(D) &poop &tog 3 &trans
>;
};

Expand Down

2 comments on commit d58bb04

@stefanwatt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you use a fork for this ?
I'm getting an error when compiling this.

@MvEerd
Copy link
Owner Author

@MvEerd MvEerd commented on d58bb04 Mar 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you use a fork for this ? I'm getting an error when compiling this.

You need the macros PR for this zmkfirmware/zmk#685

Please sign in to comment.