Added "Reset Controls" Feature under the Main-Menu Options->Controls
git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@103 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
@@ -18,7 +18,13 @@
|
||||
#endif
|
||||
|
||||
CInput::CInput() {
|
||||
resetControls();
|
||||
}
|
||||
|
||||
CInput::~CInput() {
|
||||
}
|
||||
|
||||
void CInput::resetControls() {
|
||||
Uint8 i;
|
||||
|
||||
m_exit = false;
|
||||
@@ -80,9 +86,6 @@ CInput::CInput() {
|
||||
}
|
||||
}
|
||||
|
||||
CInput::~CInput() {
|
||||
}
|
||||
|
||||
short CInput::loadControlconfig(void)
|
||||
{
|
||||
FILE *fp;
|
||||
|
||||
@@ -163,8 +163,9 @@ public:
|
||||
void getEventName(int position, unsigned char input, char *buf);
|
||||
bool readNewEvent(Uint8 device, int position);
|
||||
|
||||
short loadControlconfig(void);
|
||||
short saveControlconfig(void);
|
||||
short loadControlconfig();
|
||||
void resetControls();
|
||||
short saveControlconfig();
|
||||
|
||||
void flushKeys(void);
|
||||
void flushCommands(void);
|
||||
|
||||
Reference in New Issue
Block a user