Browse Source

Fix up sync issues

pull/15328/head
Drashna Jael're 2 years ago
parent
commit
741c014aac
No known key found for this signature in database GPG Key ID: DBA1FD3A860D1B11
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/config.h
  2. +3
    -0
      keyboards/handwired/tractyl_manuform/tm_sync.c

+ 1
- 0
keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/config.h View File

@ -19,3 +19,4 @@
#define TRACKBALL_DPI_OPTIONS { 1200, 1800, 2600, 3400 }
#define DEBOUNCE 45
#define ENCODER_DEFAULT_POS 0x3

+ 3
- 0
keyboards/handwired/tractyl_manuform/tm_sync.c View File

@ -38,6 +38,9 @@ void kb_config_sync_handler(uint8_t initiator2target_buffer_size, const void* in
// Check if the state values are different
if (cpi != kb_config.device_cpi) {
cpi = kb_config.device_cpi;
if (!is_keyboard_left()) {
pointing_device_set_cpi(cpi);
}
}
}


Loading…
Cancel
Save