mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-08 07:55:11 +00:00
Joystick support using mmsystem library on windows (#2355)
* Joystick support using mmsystem library on windows * fixed signed/unsigned issues with axes * joystick buttons are now configurable
This commit is contained in:
parent
a1189fa37a
commit
6023794081
5 changed files with 251 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
|||
#include "KeyboardPadHandler.h"
|
||||
#ifdef _MSC_VER
|
||||
#include "XInputPadHandler.h"
|
||||
#include "MMJoystickHandler.h"
|
||||
#endif
|
||||
|
||||
#include "Emu/RSX/Null/NullGSRender.h"
|
||||
|
|
@ -87,6 +88,7 @@ cfg::map_entry<std::function<std::shared_ptr<PadHandlerBase>()>> g_cfg_pad_handl
|
|||
{ "Keyboard", &std::make_shared<KeyboardPadHandler> },
|
||||
#ifdef _MSC_VER
|
||||
{ "XInput", &std::make_shared<XInputPadHandler> },
|
||||
{ "MMJoystick", &std::make_shared<MMJoystickHandler>},
|
||||
#endif
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue