mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 23:07:45 +08:00
Chromebooks support relative mouse motion now
This commit is contained in:
Regular → Executable
@@ -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.
|
||||||
//
|
//
|
||||||
|
|||||||
Regular → Executable
Reference in New Issue
Block a user