mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-03 21:21:33 +00:00
Improve drawing with digital zone highligts, futher colour tweaks, & thicker lines in GL.
It's also now no longer possible to trigger NW & SE angles when digital is set to 4 direction.
This commit is contained in:
2
stick.h
2
stick.h
@ -17,6 +17,7 @@ typedef struct
|
||||
double deadzone;
|
||||
|
||||
// digital
|
||||
point digixy;
|
||||
double digiangle;
|
||||
double digideadzone;
|
||||
} StickState;
|
||||
@ -32,6 +33,7 @@ inline void InitDefaults(StickState* p)
|
||||
p->accelpow = 1.25;
|
||||
p->deadzone = 0.125;
|
||||
|
||||
p->digixy = (point){0, 0};
|
||||
p->digiangle = sqrt(2.0) - 1.0;
|
||||
p->digideadzone = 0.5;
|
||||
}
|
||||
|
Reference in New Issue
Block a user