mirror of https://github.com/bsnes-emu/bsnes.git
22 lines
663 B
C++
22 lines
663 B
C++
struct Input {
|
|
static const char* Handle;
|
|
static const char* KeyboardSupport;
|
|
static const char* MouseSupport;
|
|
static const char* JoypadSupport;
|
|
|
|
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 bool poll(int16_t* table) { return false; }
|
|
virtual bool init() { return true; }
|
|
virtual void term() {}
|
|
|
|
Input() {}
|
|
virtual ~Input() {}
|
|
};
|