Skip to content

Commit

Permalink
sync with latest mouse branch
Browse files Browse the repository at this point in the history
  • Loading branch information
deividaspetraitis committed Feb 29, 2024
1 parent 3284d25 commit 2c03483
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build:
uses: petejohanson/zmk/.github/workflows/build-user-config.yml@core/zephyr-3.5-update
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
6 changes: 4 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
---
include:
- board: nice_nano_v2
shield: corne_left
shield: think_corne_left
- board: nice_nano_v2
shield: corne_right
shield: think_corne_right
- board: nice_nano_v2
shield: settings_reset
8 changes: 3 additions & 5 deletions config/boards/shields/think_corne/think_corne.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,14 @@ nice_view_spi: &spi0 {
#endif
};

input_config: input_config {
compatible = "zmk,input-configs";
mouse_ps2_input_listener: mouse_ps2_input_listener {
compatible = "zmk,input-listener";
status = "disabled";

mouse_ps2_config: mouse_ps2_config {
device = <&mouse_ps2>;
device = <&mouse_ps2>;

// Some of the available settings depend on the keymap. So they
// are adjusted in...
// ../../../includes/trackpoint.dtsi
};
};
};
6 changes: 5 additions & 1 deletion config/boards/shields/think_corne/think_corne_right.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@
#endif
};

&input_config {
&mouse_ps2_input_listener {
status = "okay";

// Some of the available settings depend on the keymap. So they
// are adjusted in...
// ../../../includes/trackpoint.dsi
};

// Adjust GPIO interrupt priority to the highest level.
Expand Down
1 change: 1 addition & 0 deletions config/includes/mouse_keys.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifdef HAS_MOUSE_KEYS
#include <dt-bindings/zmk/mouse.h>
#include <behaviors/mouse_keys.dtsi>
#endif


Expand Down
3 changes: 2 additions & 1 deletion config/includes/mouse_tp.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifdef HAS_MOUSE_TP
#include <dt-bindings/zmk/mouse_settings.h>
#include <behaviors/mouse_setting.dtsi>

/*
* Key Behaviors to adjust settings
Expand Down Expand Up @@ -120,7 +121,7 @@
* Input Config
*/

&mouse_ps2_config {
&mouse_ps2_input_listener {
xy-swap;
x-invert;
y-invert;
Expand Down
2 changes: 1 addition & 1 deletion config/think_corne.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Uncomment the following lines to enable the Corne RGB Underglow
CONFIG_ZMK_RGB_UNDERGLOW=n
CONFIG_WS2812_STRIP=y
CONFIG_WS2812_STRIP=n

# Uncomment the following line to enable the Corne OLED Display
# CONFIG_ZMK_DISPLAY=y
Expand Down
2 changes: 1 addition & 1 deletion config/think_corne_left.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Logging
#

CONFIG_ZMK_USB_LOGGING=n
CONFIG_ZMK_USB_LOGGING=y
2 changes: 1 addition & 1 deletion config/think_corne_right.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Logging
#

CONFIG_ZMK_USB_LOGGING=n
CONFIG_ZMK_USB_LOGGING=y

0 comments on commit 2c03483

Please sign in to comment.