mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
SDL: Make first param of OSystem_SDL::remapKey const
svn-id: r45791
This commit is contained in:
parent
a1496515ce
commit
9d816caf56
@ -572,7 +572,7 @@ bool OSystem_GP2X::pollEvent(Common::Event &event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool OSystem_GP2X::remapKey(SDL_Event &ev,Common::Event &event) {
|
||||
bool OSystem_GP2X::remapKey(const SDL_Event &ev,Common::Event &event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -410,7 +410,7 @@ protected:
|
||||
void setupIcon();
|
||||
void handleKbdMouse();
|
||||
|
||||
virtual bool remapKey(SDL_Event &ev, Common::Event &event);
|
||||
virtual bool remapKey(const SDL_Event &ev, Common::Event &event);
|
||||
|
||||
void handleScalerHotkeys(const SDL_KeyboardEvent &key);
|
||||
|
||||
|
@ -494,6 +494,6 @@ bool OSystem_GP2XWIZ::pollEvent(Common::Event &event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool OSystem_GP2XWIZ::remapKey(SDL_Event &ev,Common::Event &event) {
|
||||
bool OSystem_GP2XWIZ::remapKey(const SDL_Event &ev,Common::Event &event) {
|
||||
return false;
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ public:
|
||||
void moveStick();
|
||||
void fillMouseEvent(Common::Event&, int, int);
|
||||
void warpMouse(int, int);
|
||||
bool remapKey(SDL_Event&, Common::Event&);
|
||||
bool remapKey(const SDL_Event&, Common::Event&);
|
||||
|
||||
/* Platform Setup Stuff */
|
||||
void addSysArchivesToSearchSet(Common::SearchSet &s, int priority);
|
||||
|
@ -65,7 +65,7 @@ void OSystem_LINUXMOTO::fillMouseEvent(Common::Event &event, int x, int y) {
|
||||
}
|
||||
}
|
||||
|
||||
bool OSystem_LINUXMOTO::remapKey(SDL_Event &ev, Common::Event &event) {
|
||||
bool OSystem_LINUXMOTO::remapKey(const SDL_Event &ev, Common::Event &event) {
|
||||
// Motorol A1200/E6/A1600 remapkey by Lubomyr
|
||||
#ifdef MOTOEZX
|
||||
// Quit on MOD+Camera Key on A1200
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
void hideOverlay();
|
||||
|
||||
/* Event Stuff */
|
||||
virtual bool remapKey(SDL_Event &ev, Common::Event &event);
|
||||
virtual bool remapKey(const SDL_Event &ev, Common::Event &event);
|
||||
virtual void preprocessEvents(SDL_Event *event);
|
||||
virtual void setupMixer();
|
||||
virtual Common::HardwareKeySet *getHardwareKeySet();
|
||||
|
@ -351,7 +351,7 @@ bool OSystem_SDL_SamsungTV::pollEvent(Common::Event &event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool OSystem_SDL_SamsungTV::remapKey(SDL_Event &ev, Common::Event &event) {
|
||||
bool OSystem_SDL_SamsungTV::remapKey(const SDL_Event &ev, Common::Event &event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -426,7 +426,7 @@ protected:
|
||||
void setupIcon();
|
||||
void handleKbdMouse();
|
||||
|
||||
virtual bool remapKey(SDL_Event &ev, Common::Event &event);
|
||||
virtual bool remapKey(const SDL_Event &ev, Common::Event &event);
|
||||
|
||||
void handleScalerHotkeys(const SDL_KeyboardEvent &key);
|
||||
};
|
||||
|
@ -459,7 +459,7 @@ bool OSystem_SDL::pollEvent(Common::Event &event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool OSystem_SDL::remapKey(SDL_Event &ev, Common::Event &event) {
|
||||
bool OSystem_SDL::remapKey(const SDL_Event &ev, Common::Event &event) {
|
||||
#ifdef LINUPY
|
||||
// On Yopy map the End button to quit
|
||||
if ((ev.key.keysym.sym == 293)) {
|
||||
|
@ -467,7 +467,7 @@ protected:
|
||||
void setupIcon();
|
||||
void handleKbdMouse();
|
||||
|
||||
virtual bool remapKey(SDL_Event &ev, Common::Event &event);
|
||||
virtual bool remapKey(const SDL_Event &ev, Common::Event &event);
|
||||
|
||||
void handleScalerHotkeys(const SDL_KeyboardEvent &key);
|
||||
};
|
||||
|
@ -318,7 +318,7 @@ void OSystem_SDL_Symbian::symbianMixCallback(void *sys, byte *samples, int len)
|
||||
* @param ScumVM event to modify if special result is requested
|
||||
* @return true if Common::Event has a valid return status
|
||||
*/
|
||||
bool OSystem_SDL_Symbian::remapKey(SDL_Event &ev, Common::Event &event) {
|
||||
bool OSystem_SDL_Symbian::remapKey(const SDL_Event &ev, Common::Event &event) {
|
||||
if (GUI::Actions::Instance()->mappingActive() || ev.key.keysym.sym <= SDLK_UNKNOWN)
|
||||
return false;
|
||||
|
||||
|
@ -103,7 +103,7 @@ protected:
|
||||
// @param ScumVM event to modify if special result is requested
|
||||
// @return true if Common::Event has a valid return status
|
||||
//
|
||||
bool remapKey(SDL_Event &ev, Common::Event &event);
|
||||
bool remapKey(const SDL_Event &ev, Common::Event &event);
|
||||
|
||||
void setWindowCaption(const char *caption);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user