I've stripped out everything not strictly required for mouse button HID support. This include dropping the worker thread completely, shaving down the USB HID descriptor. Flattening the mouse/ source directory structure and removing a bunch of event handling. I have kept the mouse event handling separate from the other HID event handling since I figured that was a pretty neat split. If that's a bad idea, do tell. I've also added a test case for mouse button emulation, since that was untested before. The changes have been tested on a corne (split) in usb mode. Bindings on both the left and the right side works (with the left side as master).
22 lines
809 B
Text
22 lines
809 B
Text
#include <behaviors/key_press.dtsi>
|
|
#include <behaviors/key_toggle.dtsi>
|
|
#include <behaviors/transparent.dtsi>
|
|
#include <behaviors/none.dtsi>
|
|
#include <behaviors/mod_tap.dtsi>
|
|
#include <behaviors/layer_tap.dtsi>
|
|
#include <behaviors/gresc.dtsi>
|
|
#include <behaviors/sticky_key.dtsi>
|
|
#include <behaviors/momentary_layer.dtsi>
|
|
#include <behaviors/toggle_layer.dtsi>
|
|
#include <behaviors/to_layer.dtsi>
|
|
#include <behaviors/reset.dtsi>
|
|
#include <behaviors/sensor_rotate_key_press.dtsi>
|
|
#include <behaviors/rgb_underglow.dtsi>
|
|
#include <behaviors/bluetooth.dtsi>
|
|
#include <behaviors/ext_power.dtsi>
|
|
#include <behaviors/outputs.dtsi>
|
|
#include <behaviors/caps_word.dtsi>
|
|
#include <behaviors/key_repeat.dtsi>
|
|
#include <behaviors/backlight.dtsi>
|
|
#include <behaviors/macros.dtsi>
|
|
#include <behaviors/mouse_key_press.dtsi>
|