ppsspp/Windows/InputDevice.h
Diogo Franco (Kovensky) 2210b19244 Xinput input support
Picks the first Xinput device available, waits 100 frames between
retries when no devices are available.

Controls are hardcoded so every x360 controller button corresponds
to the PSP button in the same physical position. Input from right
stick and from analog triggers is ignored.

The Xinput code though is overriden by SampleControls' hardcoded
keyboard input. XinputDevice was tested to work with
samples/controller/basic when SampleControls is disabled.
2012-11-12 17:40:01 +00:00

11 lines
146 B
C++

#include "../Common/CommonTypes.h"
#include "../Core/HLE/sceCtrl.h"
#pragma once
class InputDevice
{
public:
virtual int UpdateState() = 0;
};