Skip to content

Commit

Permalink
remove automouse setting from vial layout
Browse files Browse the repository at this point in the history
  • Loading branch information
danil-tolkachev committed Feb 16, 2025
1 parent e239bc5 commit e27c2e3
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions keyboards/ergohaven/hpd/keymaps/v2_enc_ball/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ typedef union {
uint8_t scroll_mode : 3;
uint8_t sniper_mode : 2;
uint8_t dpi_mode : 4;
uint8_t auto_mouse_layer : 4;
};
} vial_config_t;

Expand All @@ -94,7 +93,6 @@ void via_set_layout_options_kb(uint32_t value) {
set_scroll_sens(SCROLL_TABLE[vial_config.scroll_mode]);
set_sniper_sens(SNIPER_TABLE[vial_config.sniper_mode]);
set_text_sens(TEXT_TABLE[vial_config.text_mode]);
set_automouse(vial_config.auto_mouse_layer);
}

void keyboard_post_init_user(void) {
Expand Down
1 change: 0 additions & 1 deletion keyboards/ergohaven/hpd/keymaps/v2_enc_ball/vial.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
],
"layouts": {
"labels": [
[ "Auto mouse layer", "Off", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ],
[ "DPI", "100", "200", "300", "400", "500", "600", "800", "1000", "1200", "1600", "2000", "2500", "3200", "4000", "5000" ],
[ "Sniper sens", "1/2", "1/3", "1/4", "1/5" ],
[ "Scroll sens", "1/6", "1/8", "1/11", "1/16", "1/23", "1/32", "1/45", "1/64" ],
Expand Down
2 changes: 0 additions & 2 deletions keyboards/ergohaven/hpd/keymaps/v2_enc_touch/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ typedef union {
uint8_t sniper_mode : 2;
uint8_t dpi_mode : 3;
bool invert_scroll : 1;
uint8_t auto_mouse_layer : 4;
};
} vial_config_t;

Expand All @@ -96,7 +95,6 @@ void via_set_layout_options_kb(uint32_t value) {
set_sniper_sens(SNIPER_TABLE[vial_config.sniper_mode]);
set_text_sens(TEXT_TABLE[vial_config.text_mode]);
set_invert_scroll(vial_config.invert_scroll);
set_automouse(vial_config.auto_mouse_layer);
}

void keyboard_post_init_user(void) {
Expand Down
1 change: 0 additions & 1 deletion keyboards/ergohaven/hpd/keymaps/v2_enc_touch/vial.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
],
"layouts": {
"labels": [
[ "Auto mouse layer", "Off", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ],
"Invert scroll",
[ "DPI", "320", "400", "500", "630", "800", "1000" ],
[ "Sniper sens", "1/2", "1/3", "1/4", "1/5" ],
Expand Down
2 changes: 0 additions & 2 deletions keyboards/ergohaven/k03pro/k03pro.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ typedef union {
uint8_t sniper_mode : 2;
uint8_t dpi_mode : 3;
bool invert_scroll : 1;
uint8_t auto_mouse_layer : 4;
};
} vial_config_t;

Expand Down Expand Up @@ -75,7 +74,6 @@ void via_set_layout_options_kb(uint32_t value) {
set_sniper_sens(SNIPER_TABLE[vial_config.sniper_mode]);
set_text_sens(TEXT_TABLE[vial_config.text_mode]);
set_invert_scroll(vial_config.invert_scroll);
set_automouse(vial_config.auto_mouse_layer);
}

void sync_touch(uint8_t in_buflen, const void* in_data, uint8_t out_buflen, void* out_data) {
Expand Down
1 change: 0 additions & 1 deletion keyboards/ergohaven/k03pro/keymaps/v1/vial.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "keyboards/ergohaven/vial_custom_keycodes.json"
"layouts": {
"labels": [
[ "Auto mouse layer", "Off", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ],
"Invert scroll",
[ "DPI", "320", "400", "500", "630", "800", "1000" ],
[ "Sniper sens", "1/2", "1/3", "1/4", "1/5" ],
Expand Down
1 change: 0 additions & 1 deletion keyboards/ergohaven/k03pro/keymaps/v1_no_zoom/vial.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "keyboards/ergohaven/vial_custom_keycodes.json"
"layouts": {
"labels": [
[ "Auto mouse layer", "Off", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ],
"Invert scroll",
[ "DPI", "320", "400", "500", "630", "800", "1000" ],
[ "Sniper sens", "1/2", "1/3", "1/4", "1/5" ],
Expand Down

0 comments on commit e27c2e3

Please sign in to comment.