Fixed typo in function name.
This commit is contained in:
parent
471e75729f
commit
8810d45057
4 changed files with 4 additions and 4 deletions
|
@ -574,7 +574,7 @@ X11_PumpEvents(_THIS)
|
||||||
X11_DispatchEvent(_this);
|
X11_DispatchEvent(_this);
|
||||||
}
|
}
|
||||||
/*Dont process evtouch events if XInput2 multitouch is supported*/
|
/*Dont process evtouch events if XInput2 multitouch is supported*/
|
||||||
if(X11_Xinput2IsMutitouchSupported()) {
|
if(X11_Xinput2IsMultitouchSupported()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ X11_InitTouch(_THIS)
|
||||||
/*Initilized Xinput2 multitouch
|
/*Initilized Xinput2 multitouch
|
||||||
* and return in order to not initialize
|
* and return in order to not initialize
|
||||||
* evtouch also*/
|
* evtouch also*/
|
||||||
if(X11_Xinput2IsMutitouchSupported()) {
|
if(X11_Xinput2IsMultitouchSupported()) {
|
||||||
X11_InitXinput2Multitouch(_this);
|
X11_InitXinput2Multitouch(_this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -248,7 +248,7 @@ X11_Xinput2IsInitialized() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
X11_Xinput2IsMutitouchSupported() {
|
X11_Xinput2IsMultitouchSupported() {
|
||||||
#if SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
|
#if SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
|
||||||
return xinput2_initialized && xinput2_multitouch_supported;
|
return xinput2_initialized && xinput2_multitouch_supported;
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -34,7 +34,7 @@ extern void X11_InitXinput2(_THIS);
|
||||||
extern void X11_InitXinput2Multitouch(_THIS);
|
extern void X11_InitXinput2Multitouch(_THIS);
|
||||||
extern int X11_HandleXinput2Event(SDL_VideoData *videodata,XGenericEventCookie *cookie);
|
extern int X11_HandleXinput2Event(SDL_VideoData *videodata,XGenericEventCookie *cookie);
|
||||||
extern int X11_Xinput2IsInitialized(void);
|
extern int X11_Xinput2IsInitialized(void);
|
||||||
extern int X11_Xinput2IsMutitouchSupported(void);
|
extern int X11_Xinput2IsMultitouchSupported(void);
|
||||||
extern void X11_Xinput2SelectTouch(_THIS, SDL_Window *window);
|
extern void X11_Xinput2SelectTouch(_THIS, SDL_Window *window);
|
||||||
|
|
||||||
#endif /* _SDL_x11xinput2_h */
|
#endif /* _SDL_x11xinput2_h */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue