* Initial commit.

:)
This commit is contained in:
iProgramInCpp
2023-07-30 22:22:02 +03:00
commit 9642818a88
613 changed files with 151754 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
#include <vector>
class Controller
{
public:
static bool isValidStick(int stickNo);
static float linearTransform(float, float, float, bool);
static void feed(int stickNo, int touched, float x, float y);
static float getX(int stickNo);
static float getY(int stickNo);
static float getTransformedX(int stickNo, float a2, float a3, bool b);
static float getTransformedY(int stickNo, float a2, float a3, bool b);
static bool isTouched(int stickNo);
public:
static bool isTouchedValues[2];
static float stickValuesX[2], stickValuesY[2];
};