summaryrefslogtreecommitdiff
path: root/include/egg
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2025-07-16 10:34:06 -0400
committerelijah-thomas774 <elijahthomas774@gmail.com>2025-07-16 10:34:06 -0400
commit3b6081165adc64fe53802ed35e2ae0665de6b54e (patch)
treed42316d6b03795949f13080973794704eb5b2757 /include/egg
parentc8470abc5318c4166a1d48f53f93831b995e19f6 (diff)
some updates -> non working yet
Diffstat (limited to 'include/egg')
-rw-r--r--include/egg/core/eggController.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/egg/core/eggController.h b/include/egg/core/eggController.h
index 16d7e8bd..e8414b13 100644
--- a/include/egg/core/eggController.h
+++ b/include/egg/core/eggController.h
@@ -127,6 +127,9 @@ public:
return *reinterpret_cast<const Vector3f *>(&acc);
}
+ Vector3f getAccelBad() const {
+ return Vector3f(acc.x, acc.y, acc.z);
+ }
Vector2f getAccelVertical() {
return Vector2f(acc_vertical.x, acc_vertical.y);
}
@@ -212,6 +215,9 @@ public:
const Vector3f &getAccel() const {
return mCoreStatus[0].getAccel();
}
+ Vector3f getAccelBad() const {
+ return mCoreStatus[0].getAccelBad();
+ }
eCoreDevType getDevType() const {
return mCoreStatus[0].getDevType();
@@ -223,6 +229,9 @@ public:
bool isFreestyle() const {
return mCoreStatus[0].isFreestyle();
}
+ u32 getHold() const {
+ return mCoreStatus[0].hold;
+ }
s32 getReadLength() const {
return mKPADReadLength;