OpenMarine
Right click emulation on touch screen - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: Right click emulation on touch screen (/showthread.php?tid=3000)

Pages: 1 2


Right click emulation on touch screen - mgrouch - 2020-10-11

I've improved the solution for right click emulation with long touch gesture.
For those who want to try it out


Code:
wget https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/right-click-emu/right-click-emu.sh
chmod +x right-click-emu.sh
./right-click-emu.sh
reboot


Thanks,
--MG


RE: Right click emulation on touch screen - mgrouch - 2020-10-18

(2020-10-11, 08:34 PM)mgrouch Wrote: I've improved the solution for right click emulation with long touch gesture.
For those who want to try it out


Code:
wget https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/right-click-emu/right-click-emu.sh
chmod +x right-click-emu.sh
./right-click-emu.sh
reboot


Thanks,
--MG

I've created binaries for evdev-rce on launchpad

https://launchpad.net/~bbn-projects/+archive/ubuntu/bbn-ppa


RE: Right click emulation on touch screen - SaltyPaws - 2021-01-19

Mgrouch, 
What am I missing?


RE: Right click emulation on touch screen - beercansailor - 2021-01-19

Try with running the shell command:
sh ./right-click-emu.sh


RE: Right click emulation on touch screen - CapnKernel - 2021-01-20

(2021-01-19, 10:10 PM)SaltyPaws Wrote: Mgrouch, 
What am I missing?


I don't know what caused your problem, but for me I get 200 OK not 302 Moved Temporarily.  I think it's because the URL is different.  Try this one:

  https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/right-click-emu/right-click-emu.sh


Code:
[mjd@xiaomao tmp]$ wget 'https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/right-click-emu/right-click-emu.sh'
--2021-01-20 13:13:32--  https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/right-click-emu/right-click-emu.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.28.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.28.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1016 [text/plain]
Saving to: ‘right-click-emu.sh’

right-click-emu.sh  100%[===================>]    1016  --.-KB/s    in 0s      

2021-01-20 13:13:33 (7.69 MB/s) - ‘right-click-emu.sh’ saved [1016/1016]

[mjd@xiaomao tmp]$ head -1 right-click-emu.sh
#!/bin/bash
[mjd@xiaomao tmp]$ 



RE: Right click emulation on touch screen - SaltyPaws - 2021-01-20

(2021-01-20, 03:19 AM)CapnKernel Wrote:
(2021-01-19, 10:10 PM)SaltyPaws Wrote: Mgrouch, 
What am I missing?


I don't know what caused your problem, but for me I get 200 OK not 302 Moved Temporarily.  I think it's because the URL is different.  Try this one:

  https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/right-click-emu/right-click-emu.sh
OK, that moved me forward a bit CapnKernel! Thx. But not quite there yet...


RE: Right click emulation on touch screen - mgrouch - 2021-01-20

You had some errors during package downloads from Debian site.
Look at the first failure in the screenshot.

Thanks,
—MG


RE: Right click emulation on touch screen - SaltyPaws - 2021-01-25

(2021-01-20, 10:50 PM)mgrouch Wrote: You had some errors during package downloads from Debian site.
Look at the first failure in the screenshot.

Thanks,
—MG

Success: after 
sudo apt update
sudo apt upgrade
editing line #11 of https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/right-click-emu/right-click-emu.sh
so that it now reads : sudo chmod +x '/usr/local/bin/evdev-rce'

Then executing the script, while online.

Thanks for all the combined help! 


RE: Right click emulation on touch screen - mgrouch - 2021-01-25

(2021-01-25, 07:37 PM)SaltyPaws Wrote:
(2021-01-20, 10:50 PM)mgrouch Wrote: You had some errors during package downloads from Debian site.
Look at the first failure in the screenshot.

Thanks,
—MG

Success: after 
sudo apt update
sudo apt upgrade
editing line #11 of https://raw.githubusercontent.com/bareboat-necessities/my-bareboat/master/right-click-emu/right-click-emu.sh
so that it now reads : sudo chmod +x '/usr/local/bin/evdev-rce'

Then executing the script, while on line.

Thanks for all the combined 

If you have some free SD card you might try latest beta image from here


https://cloudsmith.io/~bbn-projects/repos/bbn-repo/packages/?q=lysmarine

It has many other features to improve touchscreen UI. 

Thanks,
—MG


RE: Right click emulation on touch screen - SaltyPaws - 2021-01-25

(2021-01-25, 07:50 PM)mgrouch Wrote:
If you have some free SD card you might try latest beta image from here


https://cloudsmith.io/~bbn-projects/repos/bbn-repo/packages/?q=lysmarine

It has many other features to improve touchscreen UI. 

Thanks,
—MG

Thank you!