mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Emulator cleanup, add AR conditionals
This commit is contained in:
parent
08596c1a24
commit
d007b2d780
5 changed files with 79 additions and 62 deletions
|
@ -91,6 +91,7 @@ class HIDService {
|
|||
void pressKey(u32 mask) { newButtons |= mask; }
|
||||
void releaseKey(u32 mask) { newButtons &= ~mask; }
|
||||
|
||||
u32 getOldButtons() { return oldButtons; }
|
||||
s16 getCirclepadX() { return circlePadX; }
|
||||
s16 getCirclepadY() { return circlePadY; }
|
||||
|
||||
|
|
|
@ -90,17 +90,5 @@ class ServiceManager {
|
|||
void signalDSPEvents() { dsp.signalEvents(); }
|
||||
|
||||
// Input function wrappers
|
||||
void pressKey(u32 key) { hid.pressKey(key); }
|
||||
void releaseKey(u32 key) { hid.releaseKey(key); }
|
||||
s16 getCirclepadX() { return hid.getCirclepadX(); }
|
||||
s16 getCirclepadY() { return hid.getCirclepadY(); }
|
||||
void setCirclepadX(s16 x) { hid.setCirclepadX(x); }
|
||||
void setCirclepadY(s16 y) { hid.setCirclepadY(y); }
|
||||
void updateInputs(u64 currentTimestamp) { hid.updateInputs(currentTimestamp); }
|
||||
void setTouchScreenPress(u16 x, u16 y) { hid.setTouchScreenPress(x, y); }
|
||||
void releaseTouchScreen() { hid.releaseTouchScreen(); }
|
||||
|
||||
void setRoll(s16 roll) { hid.setRoll(roll); }
|
||||
void setPitch(s16 pitch) { hid.setPitch(pitch); }
|
||||
void setYaw(s16 yaw) { hid.setYaw(yaw); }
|
||||
HIDService& getHID() { return hid; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue