o add my bsnes branch

This commit is contained in:
David Voswinkel
2009-05-12 20:05:00 +02:00
parent 1c30d3db56
commit 091b82a7ef
402 changed files with 68660 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
struct InputUiGeneral : public InputGroup {
InputObject loadCartridge;
InputObject pauseEmulation;
InputObject resetSystem;
InputObject powerCycleSystem;
InputObject lowerSpeed;
InputObject raiseSpeed;
InputObject toggleCheatSystem;
InputObject toggleFullscreen;
InputObject toggleMenu;
InputObject toggleStatus;
InputObject exitEmulator;
InputUiGeneral();
};
struct InputGroupPool : public array<InputGroup*> {
void attach(InputGroup &group);
void bind();
void clear();
void poll(const int16_t *table);
InputGroupPool();
private:
array<InputGroup*> &list;
};
struct InputUiPool : public InputGroupPool {
InputUiPool();
};
extern InputUiGeneral inputUiGeneral;
extern InputUiPool inputUiPool;