aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/opt_encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ploopyco/opt_encoder.h')
-rw-r--r--keyboards/ploopyco/opt_encoder.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/keyboards/ploopyco/opt_encoder.h b/keyboards/ploopyco/opt_encoder.h
index 23a170d59..17c25bc86 100644
--- a/keyboards/ploopyco/opt_encoder.h
+++ b/keyboards/ploopyco/opt_encoder.h
@@ -28,33 +28,33 @@
28 28
29enum State { HIHI, HILO, LOLO, LOHI }; 29enum State { HIHI, HILO, LOLO, LOHI };
30 30
31enum State state; 31extern enum State state;
32 32
33/* Variables used for scroll wheel functionality. */ 33/* Variables used for scroll wheel functionality. */
34bool lohif; 34extern bool lohif;
35bool hilof; 35extern bool hilof;
36int lowA; 36extern int lowA;
37int highA; 37extern int highA;
38bool cLowA; 38extern bool cLowA;
39bool cHighA; 39extern bool cHighA;
40int lowIndexA; 40extern int lowIndexA;
41int highIndexA; 41extern int highIndexA;
42bool lowOverflowA; 42extern bool lowOverflowA;
43bool highOverflowA; 43extern bool highOverflowA;
44int lowB; 44extern int lowB;
45int highB; 45extern int highB;
46bool cLowB; 46extern bool cLowB;
47bool cHighB; 47extern bool cHighB;
48int lowIndexB; 48extern int lowIndexB;
49int highIndexB; 49extern int highIndexB;
50bool lowOverflowB; 50extern bool lowOverflowB;
51bool highOverflowB; 51extern bool highOverflowB;
52int scrollThresholdA; 52extern int scrollThresholdA;
53int scrollThresholdB; 53extern int scrollThresholdB;
54int arLowA[SCROLLER_AR_SIZE]; 54extern int arLowA[SCROLLER_AR_SIZE];
55int arHighA[SCROLLER_AR_SIZE]; 55extern int arHighA[SCROLLER_AR_SIZE];
56int arLowB[SCROLLER_AR_SIZE]; 56extern int arLowB[SCROLLER_AR_SIZE];
57int arHighB[SCROLLER_AR_SIZE]; 57extern int arHighB[SCROLLER_AR_SIZE];
58 58
59void calculateThresholdA(int curA); 59void calculateThresholdA(int curA);
60void calculateThresholdB(int curB); 60void calculateThresholdB(int curB);