Skip to content

Commit

Permalink
removed corne, added charybdis config
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlucachi committed Jun 28, 2023
1 parent d8518b6 commit b831100
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 66 deletions.
4 changes: 2 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
---
include:
- board: nice_nano_v2
shield: corne_left
shield: charybdis_left
- board: nice_nano_v2
shield: corne_right
shield: charybdis_right
8 changes: 8 additions & 0 deletions config/charybdis.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

CONFIG_BT_LL_SW_LLCP_LEGACY=y

CONFIG_BT_PERIPHERAL_PREF_MAX_INT=9
CONFIG_BT_PERIPHERAL_PREF_LATENCY=16
CONFIG_BT_BUF_ACL_TX_COUNT=32
CONFIG_BT_L2CAP_TX_BUF_COUNT=32
45 changes: 45 additions & 0 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/mouse.h>
#include <dt-bindings/zmk/outputs.h>

/ {

keymap {
compatible = "zmk,keymap";

Base {
label = "Base";
bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp APOS
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHIFT
&kp LCTRL &mo 1 &kp SPACE &kp RET &mo 2
>;
trackball-bindings = <&tmv_coarse>;
};

Lower {
label = "Lower";
bindings = <
&trans &kp K_PP &kp UP &kp N1 &kp N2 &kp N3 &kp N7 &kp N8 &kp N9 &kp N0 &kp HOME &trans
&trans &kp LEFT &kp DOWN &kp RIGHT &kp N4 &kp N5 &kp N4 &kp N5 &kp N6 &kp RIGHT &trans &kp F10
&kp LEFT_ALT &trans &trans &trans &kp MINUS &kp PLUS &kp N1 &kp N2 &kp N3 &kp DOT &trans &trans
&kp LGUI &trans &kp SPACE &kp RET &kp RCTRL
>;
trackball-bindings = <&tmv_fine>;
};

Raise {
label = "Raise";
bindings = <
&trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp KP_MULTIPLY &kp LPAR &kp RPAR &kp DEL
&trans &bt BT_CLR &bt BT_PRV &bt BT_NXT &bt BT_SEL 0 &to 3 &kp UNDER &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
&trans &out OUT_TOG &trans &trans &trans &trans &kp MINUS &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
&kp LGUI &kp LEFT_ALT &kp SPACE &kp RET &trans
>;
trackball-bindings = <&tsl_fine>;
};
};
};
20 changes: 20 additions & 0 deletions config/charybdis_right.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
CONFIG_PMW3610=y
CONFIG_PMW3610_SMART_ALGORITHM=y
CONFIG_PMW3610_CPI=1000
CONFIG_PMW3610_CPI_DIVIDOR=4
CONFIG_PMW3610_ORIENTATION_90=y
CONFIG_ZMK_MOUSE_TICK_DURATION=6
CONFIG_MOUSE_LAYER_ACTIVE_MS=750
CONFIG_MOUSE_LAYER_INDEX=5

#CONFIG_SCROLL_LAYER_INDEX=8

#CONFIG_ZMK_USB_LOGGING=y
#CONFIG_LOG_MODE_IMMEDIATE=n
#CONFIG_LOG_TIMESTAMP_64BIT=y
#CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=2000
#CONFIG_ZMK_LOG_LEVEL_DBG=y
#CONFIG_KSCAN_LOG_LEVEL_INF=y
#CONFIG_ZMK_BLE=y
#CONFIG_ZMK_USB=n
#CONFIG_SPI_LOG_LEVEL_DBG=y
6 changes: 0 additions & 6 deletions config/corne.conf

This file was deleted.

56 changes: 0 additions & 56 deletions config/corne.keymap

This file was deleted.

4 changes: 2 additions & 2 deletions config/west.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
manifest:
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
url-base: https://github.com/victorlucachi
projects:
- name: zmk
remote: zmkfirmware
revision: main
revision: pmw3610-aml
import: app/west.yml
self:
path: config

0 comments on commit b831100

Please sign in to comment.