some more work on pad/event handler

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1733 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-01-02 14:10:52 +00:00
parent dbd9d5fb2d
commit a2a5d0a066
5 changed files with 97 additions and 38 deletions

View File

@ -52,12 +52,14 @@ enum
struct SPads {
bool bAttached; // Pad is "attached" to the gamecube/wii
bool bDisable; // Disabled when dolphin isn't in focus
unsigned int keyForControl[NUMCONTROLS];// Keyboard mapping
sf::Key::Code keyForControl[NUMCONTROLS];// Keyboard mapping
};
extern SPads pad[];
void LoadConfig();
void SaveConfig();
bool registerKey(int nPad, int id, sf::Key::Code code, int mods = 0);
bool ParseKeyEvent(sf::Event ev);
#endif