~ruther/qmk_firmware

ref: c1ea29b8e4b51b198da45e1b5fb33e03e08a36ea qmk_firmware/keyboards/lily58/keymaps/druotoni/burst.h -rw-r--r-- 487 bytes
c1ea29b8 — QMK Bot Merge remote-tracking branch 'origin/master' into develop 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2021 Nicolas Druoton (druotoni)
// Copyright 2020 Richard Sutherland (rich@brickbots.com)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

// burst
#define MAX_WPM_INIT 40
#define BURST_FENETRE 500

// wpm
#define LIMIT_MAX_WPM 150
#define WPM_ESTIMATED_WORD_SIZE 5
#define WPM_SMOOTHING 0.0487

// scope
#define SIZE_SCOPE 26
#define SCOPE_Y_BOTTOM 127

void update_scope(void);
void render_scope(gui_state_t t);

void reset_scope(void);
void decay_scope(void);
Do not follow this link