mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 16:37:55 +00:00
ir: implement new 3ds HID via ir:rst
This commit is contained in:
parent
4906d0617c
commit
fced3273c1
9 changed files with 207 additions and 24 deletions
|
@ -176,6 +176,16 @@ ASSERT_REG_POSITION(touch.index_reset_ticks, 0x2A);
|
|||
#undef ASSERT_REG_POSITION
|
||||
#endif // !defined(_MSC_VER)
|
||||
|
||||
struct DirectionState {
|
||||
bool up;
|
||||
bool down;
|
||||
bool left;
|
||||
bool right;
|
||||
};
|
||||
|
||||
/// Translates analog stick axes to directions. This is exposed for ir_rst module to use.
|
||||
DirectionState GetStickDirectionState(s16 circle_pad_x, s16 circle_pad_y);
|
||||
|
||||
/**
|
||||
* HID::GetIPCHandles service function
|
||||
* Inputs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue