lubomyr / uae4arm

amiga emulator (android port)
GNU General Public License v2.0
63 stars 9 forks source link

Proper USB physical mouse support.. #1

Open ruthan opened 8 years ago

ruthan commented 8 years ago

Hello, im using this emulator on my emulators machines, where other emulators with gamepad or even Dosbox with mouse and keyboard combo runs well, but uae2arm does not.

There are few main problems:

lubomyr commented 8 years ago

I tested uae4arm with real usb mouse on my device and didn't have any problem with it. Mouse cursor moving works without left button hold. Right mouse click works as amiga right mouse click. Yes I know that on some device right mouse click works as back button. But it not app related, it rather something system related. Android OS not support hiding of system cursor. But you can enable mousehack mode via input menu and both cursor always will be located in same place.

Try to enter into SDL menu when run app (button in top part of screen 'Change device configuration') and select Mouse emulation, then assign left mouse click as normal. I hope it solve first of your problem (moving of cursor without holding left button)

2016-09-04 20:21 GMT+03:00 RuThaN notifications@github.com:

Hello, im using this emulator on my emulators machines, where other emulators with gamepad or even Dosbox with mouse and keyboard combo runs well, but uae2arm does not.

There are few main problems:

  • mouse cursor is moving only if left button is hold
  • there two cursor, one from android and one from game with huge offset, if would be on one place and i would not mind

    right button is not working, in Dosbox it doesnt - could be remaped, because by default works on Android as back button

    I want to play games like Dungeon Master.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lubomyr/uae4arm/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcn1oFrthmT9YenYN8BbEXNKTeJlfupks5qmv4agaJpZM4J0lTe .

lovrenco commented 7 years ago

Hello. This worked for me (normal+mousehack) whwn i set im SDL advanced fatures - uncheck Relative mouse movement. I will correct my grade on Google Play. So, you say Android doesnt allow to hide default coursor? I am using it on Nexbox 5/Android 6.0.1

lovrenco commented 7 years ago

However, if you enable mouse hack, mouse is problematic in games. I just tried with Fate of Atlantis. When android pointer comes to the corner or botom, amiga game coursor cannot be moved further, it stucks on the middle of the screen. If you disable hack, it works. Just if you could hide android pointer somehow, or use it instead amiga pointer (hide amiga one) that would be perfect. Even if it is only possible on rooted devices.

lovrenco commented 7 years ago

Seems like Android 7 gets support for custom pointers:

http://www.androidpolice.com/2016/06/16/android-n-gets-support-custom-mouse-pointers-via-new-api-dev-preview-4/

pelya commented 4 years ago

Double mouse cursor should be fixed in this release: https://github.com/pelya/uae4arm/releases/tag/1.0.3.7

MaksymKammerer commented 2 years ago

@pelya I really appreciate your work - in terms of removing the mouse pointer. Now can enjoy the Amiga games on my Xperia Z2 Tablet on Android- the way they should have been - with physical mouse ;-). And I am curious - as Retroarch Plus is having similar issue - mouse is not natively grabbed - like mentioned in this issue: https://github.com/libretro/RetroArch/issues/14016

Since mouse is not used at all - even by the UI of Retroarch - do you think that your method applied in Uae4ARM can be used also by them?

Thank you in advance for your insight.