dirkwhoffmann / vAmiga

vAmiga is a user-friendly Amiga 500, 1000, 2000 emulator for macOS
https://dirkwhoffmann.github.io/vAmiga
Other
293 stars 24 forks source link

can’t use mouse in emulator on ipad #830

Open BobStadler opened 3 weeks ago

BobStadler commented 3 weeks ago

when i select mouse as game pad one i can move the pointer but not click. i have a bluetooth mouse connected with my ipad.

mithrendal commented 3 weeks ago

Hi @BobStadler have you tried different mouses ?

I tried with a microsoft USB mouse connected via cable to iPad. That one works fine.

Tried also with the apple bt magic mouse. Unfortunately that one only is registered as a one button mouse. Therefore only the left button works.

Which model did you use?

mithrendal commented 3 weeks ago

Apples Magic Mouse secondary button is also working 😎 fine.

It turns out that the right mouse button click just has to be enabled in the iPadOS settings

general => trackpad and mouse => magic mouse => secondary click = right

BobStadler commented 2 weeks ago

i am using a logitech mx master 3, this is the only mouse i have and i don’t have a usb to lightning adapter.

i already have turned that setting on, but no button works regardless

mithrendal commented 2 weeks ago

@BobStadler are you using vAmigaWeb ? Or vAmigaNet ? Or vAmiga for Mac via iPad screen sharing ?

BobStadler commented 2 weeks ago

@mithrendal i am using vAmigaWeb. today i couldn’t even move my mouse.

mithrendal commented 2 weeks ago

did you know ? there is also a dedicated github project page for vAmigaWeb for its specific issues

lets check more details

which version of iPadOS, iPad are you on? can you control iPadOS with your mouse ? can you start vAmigaWeb from your HomeScreen by a mouse click ? when you click with your mouse on the vAmigaWeb settings icon in the top menu bar, is the settings dialog opening ? i.e. can you operate the user interface of vAmigaWeb with your mouse ? i.e. is the mouse only inside the emulation not working?

whats the installed version of vAmigaWeb ? (you find version infos in the settings at the bottom) below is the latest

image
BobStadler commented 2 weeks ago

i can control ipad os fine with my mouse and i have vAmigaWeb on the desktop. i can also hover over elements in the emulator and click on the ui elements to use it. if i chose the touch mouse option then i can even use that with my mouse. just the normal mouse option does not work inside the emulation. i updated and downgraded the version and tried both versions i have. i am running an iPad air 2 with IPadOS 15.8.2

BobStadler commented 2 weeks ago

thanks for giving me your time btw. @mithrendal

mithrendal commented 2 weeks ago

I am on iPadOs 17, I have unfortunately no iPadOS 15 device…

Then let’s test your device whether it supports the basic mouse events in safari which are used for mouse emulation in Amiga. E.g. mousemove, mousedown and mouseup

Here is the test web site https://javascript.info/mouse-events-basics

Please test your mousedown/mouseup like I did here in iPadOS17

image

Please test mousemove like I did here

image

Is it working fine ?

BobStadler commented 1 week ago

i will test this as soon as i have my mouse back, sorry for the wait.

BobStadler commented 1 week ago

@mithrendal i have tested all of the things and they work.

mithrendal commented 1 week ago

ok good. its basically supported then.

now within vAmigaWeb create an action button with the following javascript

remove_pointer_lock_fallback();
add_pointer_lock_fallback();

press your created action button and report whether mouse works

mithrendal commented 1 week ago
image