diff options
| author | QMK Bot <hello@qmk.fm> | 2020-07-21 00:09:52 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2020-07-21 00:09:52 +0000 |
| commit | 1778858e24ddf7527ba37014e991fb95eb9689a3 (patch) | |
| tree | ab5ba54c632343c4c1593920944b719a2c4a7e49 /tmk_core | |
| parent | 19006c9753e490bf5e0136e59476530e345c4a8a (diff) | |
| download | qmk_firmware-1778858e24ddf7527ba37014e991fb95eb9689a3.tar.gz qmk_firmware-1778858e24ddf7527ba37014e991fb95eb9689a3.zip | |
format code according to conventions [skip ci]
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/mousekey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/common/mousekey.c b/tmk_core/common/mousekey.c index 661384d65..42bf231f4 100644 --- a/tmk_core/common/mousekey.c +++ b/tmk_core/common/mousekey.c | |||
| @@ -66,7 +66,7 @@ uint8_t mk_wheel_interval = MOUSEKEY_WHEEL_INTERVAL; | |||
| 66 | uint8_t mk_wheel_max_speed = MOUSEKEY_WHEEL_MAX_SPEED; | 66 | uint8_t mk_wheel_max_speed = MOUSEKEY_WHEEL_MAX_SPEED; |
| 67 | uint8_t mk_wheel_time_to_max = MOUSEKEY_WHEEL_TIME_TO_MAX; | 67 | uint8_t mk_wheel_time_to_max = MOUSEKEY_WHEEL_TIME_TO_MAX; |
| 68 | 68 | ||
| 69 | #ifndef MK_COMBINED | 69 | # ifndef MK_COMBINED |
| 70 | 70 | ||
| 71 | static uint8_t move_unit(void) { | 71 | static uint8_t move_unit(void) { |
| 72 | uint16_t unit; | 72 | uint16_t unit; |
| @@ -104,7 +104,7 @@ static uint8_t wheel_unit(void) { | |||
| 104 | return (unit > MOUSEKEY_WHEEL_MAX ? MOUSEKEY_WHEEL_MAX : (unit == 0 ? 1 : unit)); | 104 | return (unit > MOUSEKEY_WHEEL_MAX ? MOUSEKEY_WHEEL_MAX : (unit == 0 ? 1 : unit)); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | #else /* #ifndef MK_COMBINED */ | 107 | # else /* #ifndef MK_COMBINED */ |
| 108 | 108 | ||
| 109 | static uint8_t move_unit(void) { | 109 | static uint8_t move_unit(void) { |
| 110 | uint16_t unit; | 110 | uint16_t unit; |
| @@ -142,7 +142,7 @@ static uint8_t wheel_unit(void) { | |||
| 142 | return (unit > MOUSEKEY_WHEEL_MAX ? MOUSEKEY_WHEEL_MAX : (unit == 0 ? 1 : unit)); | 142 | return (unit > MOUSEKEY_WHEEL_MAX ? MOUSEKEY_WHEEL_MAX : (unit == 0 ? 1 : unit)); |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | #endif /* #ifndef MK_COMBINED */ | 145 | # endif /* #ifndef MK_COMBINED */ |
| 146 | 146 | ||
| 147 | void mousekey_task(void) { | 147 | void mousekey_task(void) { |
| 148 | // report cursor and scroll movement independently | 148 | // report cursor and scroll movement independently |
