mirror of
https://github.com/libretro/bsnes2014.git
synced 2026-10-17 14:25:51 +00:00
byuu says: Not an official WIP (a WIP WIP? A meta-WIP?), just throwing in the new fullscreen code, and I noticed that OpenGL colors in 30-bit mode are all fucked up now for some strange reason. So I'm just using this snapshot to debug the issue.
24 lines
767 B
C++
24 lines
767 B
C++
struct Input {
|
|
static const char* Handle;
|
|
static const char* KeyboardSupport;
|
|
static const char* MouseSupport;
|
|
static const char* JoypadSupport;
|
|
static const char* JoypadRumbleSupport;
|
|
|
|
virtual bool cap(const nall::string& name) { return false; }
|
|
virtual nall::any get(const nall::string& name) { return false; }
|
|
virtual bool set(const nall::string& name, const nall::any& value) { return false; }
|
|
|
|
virtual bool acquire() { return false; }
|
|
virtual bool unacquire() { return false; }
|
|
virtual bool acquired() { return false; }
|
|
|
|
virtual nall::vector<nall::HID::Device*> poll() { return {}; }
|
|
virtual bool rumble(uint64_t id, bool enable) {}
|
|
virtual bool init() { return true; }
|
|
virtual void term() {}
|
|
|
|
Input() {}
|
|
virtual ~Input() {}
|
|
};
|