mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user