mirror of https://github.com/encounter/SDL.git
Chromebooks support relative mouse motion now
This commit is contained in:
parent
db58166e9b
commit
f5e9c5b7e0
|
@ -987,11 +987,6 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
||||||
*/
|
*/
|
||||||
public static boolean supportsRelativeMouse()
|
public static boolean supportsRelativeMouse()
|
||||||
{
|
{
|
||||||
// ChromeOS doesn't provide relative mouse motion via the Android 7 APIs
|
|
||||||
if (isChromebook()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeX mode in Samsung Experience 9.0 and earlier doesn't support relative mice properly under
|
// DeX mode in Samsung Experience 9.0 and earlier doesn't support relative mice properly under
|
||||||
// Android 7 APIs, and simply returns no data under Android 8 APIs.
|
// Android 7 APIs, and simply returns no data under Android 8 APIs.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue