o cleanup

This commit is contained in:
optixx
2009-04-22 20:04:28 +02:00
parent 55e3468f74
commit 0c378a9f7c
1078 changed files with 0 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;