2023-12-25 06:22:05 +08:00
|
|
|
/**===================================================== *
|
|
|
|
* ========== Keyboard LED Output Indicator ========== *
|
|
|
|
* ===================================================== *
|
|
|
|
*
|
|
|
|
* If you are willing to give up on using the keyboard LEDs for their original purpose,
|
|
|
|
* you can use them as a convenient way to indicate which output is selected.
|
|
|
|
*
|
|
|
|
* KBD_LED_AS_INDICATOR set to 0 will use the keyboard LEDs as normal.
|
|
|
|
* KBD_LED_AS_INDICATOR set to 1 will use the Caps Lock LED as indicator.
|
|
|
|
*
|
|
|
|
* */
|
|
|
|
|
2024-01-03 17:48:34 +08:00
|
|
|
#define KBD_LED_AS_INDICATOR 0
|
2023-12-25 06:22:05 +08:00
|
|
|
|
|
|
|
/**===================================================== *
|
|
|
|
* =========== Hotkey for output switching =========== *
|
|
|
|
* ===================================================== *
|
|
|
|
*
|
|
|
|
* Everyone is different, I prefer to use caps lock because I HATE SHOUTING :)
|
|
|
|
* You might prefer something else. Pick something from the list found at:
|
|
|
|
*
|
|
|
|
* https://github.com/hathach/tinyusb/blob/master/src/class/hid/hid.h
|
|
|
|
*
|
|
|
|
* defined as HID_KEY_<something>
|
|
|
|
*
|
|
|
|
* */
|
|
|
|
|
|
|
|
#define HOTKEY_TOGGLE HID_KEY_CAPS_LOCK
|
|
|
|
|
|
|
|
/**================================================== *
|
|
|
|
* ============== Mouse Speed Factor ============== *
|
|
|
|
* ==================================================
|
|
|
|
*
|
|
|
|
* This affects how fast the mouse moves.
|
|
|
|
*
|
2024-01-17 01:38:24 +08:00
|
|
|
* MOUSE_SPEED_A_FACTOR_X: [1-128], mouse moves at this speed in X direction
|
|
|
|
* MOUSE_SPEED_A_FACTOR_Y: [1-128], mouse moves at this speed in Y direction
|
2024-01-03 17:48:34 +08:00
|
|
|
*
|
|
|
|
* MOUSE_JUMP_THRESHOLD: [0-32768], sets the "force" you need to use to drag the
|
|
|
|
* mouse to another screen, 0 meaning no force needed at all, and ~500 some force
|
|
|
|
* needed, ~1000 no accidental jumps, you need to really mean it.
|
|
|
|
*
|
2024-01-17 01:38:24 +08:00
|
|
|
* This is now configurable per-screen.
|
2023-12-25 06:22:05 +08:00
|
|
|
*
|
|
|
|
* */
|
|
|
|
|
2024-01-17 01:38:24 +08:00
|
|
|
/* Output A values */
|
|
|
|
#define MOUSE_SPEED_A_FACTOR_X 16
|
|
|
|
#define MOUSE_SPEED_A_FACTOR_Y 16
|
|
|
|
|
|
|
|
/* Output B values */
|
|
|
|
#define MOUSE_SPEED_B_FACTOR_X 16
|
|
|
|
#define MOUSE_SPEED_B_FACTOR_Y 16
|
2024-01-03 17:48:34 +08:00
|
|
|
|
|
|
|
#define MOUSE_JUMP_THRESHOLD 0
|
2024-01-17 01:38:24 +08:00
|
|
|
|