Skip to content

Commit

Permalink
Android: Fixed a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jan 12, 2016
1 parent 1560351 commit 46cb851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android-project/src/org/libsdl/app/SDLActivity.java
Expand Up @@ -1214,7 +1214,7 @@ public boolean onTouch(View v, MotionEvent event) {
// !!! FIXME: dump this SDK check after 2.0.4 ships and require API14.
if (event.getSource() == InputDevice.SOURCE_MOUSE && SDLActivity.mSeparateMouseAndTouch) {
if (Build.VERSION.SDK_INT < 14) {
mouseButton = 1; // For Android==12 all mouse buttons are the left button
mouseButton = 1; // all mouse buttons are the left button
} else {
try {
mouseButton = (Integer) event.getClass().getMethod("getButtonState").invoke(event);
Expand Down

0 comments on commit 46cb851

Please sign in to comment.