Please, elaborate. Are you sure that your mouse is working properly in other applications? Which VMPK version? Is your Mac a laptop with a trackpad? if yes: is there a difference when using the trackpad compared to using an external mouse?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just found the problem. With the mouse it works perfectly. But when I use the trackpad it has some issues. It presses the keys just with hovering the mouse above them. I cannot control the notes I play. I am posting a video where I click and leave the trackpad only twice.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does it draw by just hovering the mouse pointer using the trackpad, like you do it in VMPK?
If so, then you need to troubleshoot your trackpad. Or use always the external mouse.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried it and my trackpad works properly. My MBP runs Mojave and it's the early 2015 13' Retina model. I'm posting the related video. Thank you for your time.
Yes, this was the issue. Of course, there are not MBPs with touch screens. The track-pad produces both touch events and mouse events, but those touch events are not suitable for note input. On the other hand, the mouse emulation is pretty good.
There was a similar problem with Microsoft Surface devices, where the touch events on the screen produce mouse events as well. The fix was to ignore the mouse events if they were synthesized by the system.
The next version will include a proper fix, where the touch events will be ignored if they are not produced by a real touch screen. Meanwhile please use the workaround provided by Jorgen Hall.
Please, elaborate. Are you sure that your mouse is working properly in other applications? Which VMPK version? Is your Mac a laptop with a trackpad? if yes: is there a difference when using the trackpad compared to using an external mouse?
I just found the problem. With the mouse it works perfectly. But when I use the trackpad it has some issues. It presses the keys just with hovering the mouse above them. I cannot control the notes I play. I am posting a video where I click and leave the trackpad only twice.
Posting the video
I can't reproduce your problem with my MBP (if I have understood correctly). Maybe is your trackpad's fault.
Please download and run this simple drawing program:
https://paintbrush.sourceforge.io/downloads/
Does it draw by just hovering the mouse pointer using the trackpad, like you do it in VMPK?
If so, then you need to troubleshoot your trackpad. Or use always the external mouse.
I tried it and my trackpad works properly. My MBP runs Mojave and it's the early 2015 13' Retina model. I'm posting the related video. Thank you for your time.
https://www.youtube.com/watch?v=iFmpYPrDUts&feature=youtu.be
I have had this problem for a while on my MBP 2013 13''.
The solution for me was to disable the touch screen option as note input.
Jorgen: Thanks for the workaround!
Yes, this was the issue. Of course, there are not MBPs with touch screens. The track-pad produces both touch events and mouse events, but those touch events are not suitable for note input. On the other hand, the mouse emulation is pretty good.
There was a similar problem with Microsoft Surface devices, where the touch events on the screen produce mouse events as well. The fix was to ignore the mouse events if they were synthesized by the system.
The next version will include a proper fix, where the touch events will be ignored if they are not produced by a real touch screen. Meanwhile please use the workaround provided by Jorgen Hall.
Fixed in [r507]
Related
Commit: [r507]
Last edit: Pedro Lopez-Cabanillas 2019-03-22