summary refs log tree commit diff stats
path: root/src/config.h
blob: 240867c572c3b48ad4852c29df8dc5b7b02abc04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// LTeX: language=off
/*
 * Moonlander Layout
 *
 * Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
 * SPDX-License-Identifier: AGPL-3.0-or-later
 *
 * This file is part of Moonlander Layout.
 *
 * You should have received a copy of the License along with this program.
 * If not, see <https://www.gnu.org/licenses/agpl.txt>.
 */

/*
  Set any config.h overrides for your specific keymap here.
  See config.h options at
  https://docs.qmk.fm/#/config_options?id=the-configh-file
*/

#undef DEBOUNCE
#define DEBOUNCE 8

#define USB_SUSPEND_WAKEUP_DELAY 0
#define LAYER_STATE_16BIT

#define RGB_MATRIX_STARTUP_SPD 60

#define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX

// Mouse Key section {{{
/* Delay between pressing a movement key and cursor movement */
#undef MOUSEKEY_DELAY
#define MOUSEKEY_DELAY 0 // default: 10

/* Time between cursor movements in milliseconds */
#undef MOUSEKEY_INTERVAL
#define MOUSEKEY_INTERVAL 20 // default: 20

/* Step size */
// #undef MOUSEKEY_MOVE_DELTA
// #define MOUSEKEY_MOVE_DELTA 18 // default: 8

/* Maximum cursor speed at which acceleration stops */
#undef MOUSEKEY_MAX_SPEED
#define MOUSEKEY_MAX_SPEED 14 // default: 10

/* Time until maximum cursor speed is reached */
#undef MOUSEKEY_TIME_TO_MAX
#define MOUSEKEY_TIME_TO_MAX 60 // default: 30

/* Delay between pressing a wheel key and wheel movement */
#undef MOUSEKEY_WHEEL_DELAY
#define MOUSEKEY_WHEEL_DELAY 0 // default: 10

/* Time between wheel movements */
#undef MOUSEKEY_WHEEL_INTERVAL
#define MOUSEKEY_WHEEL_INTERVAL 80 // default: 80

/* Wheel movement step size */
#undef MOUSEKEY_WHEEL_DELTA
#define MOUSEKEY_WHEEL_DELTA 3 // default: 1

/* Maximum number of scroll steps per scroll action */
#undef MOUSEKEY_WHEEL_MAX_SPEED
#define MOUSEKEY_WHEEL_MAX_SPEED 8 // default: 8

/* Time until maximum scroll speed is reached */
#undef MOUSEKEY_WHEEL_TIME_TO_MAX
#define MOUSEKEY_WHEEL_TIME_TO_MAX 60 // default: 40
// }}}