OpenMarine

Full Version: multitouch support I'd like to contribute
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'd really like to contribute a solution for multi-touch support in OpenCPN for touchscreens.
I've seen reports that it works for multiple different screens. I'd really love to have it
integrated into the release of OpenPlotter.


The code is here


https://github.com/bareboat-necessities/...er/twofing

src-copy directory is just a clone of original twofing


https://github.com/Plippo/twofing

with one change in profiles.h


Code:
char* blacklist[] = { "chrome", "xournal", "gimp-2.6", "gimp", "mypaint", "inkscape", NULL };


I've added "chrome" for Chromium as it supports it's own gestures already.


I've made this script

https://github.com/bareboat-necessities/...install.sh

It adds support for Argonaut M7 screen.
With few additions we can add rules and 'match' rule from



https://github.com/Plippo/twofing/tree/master/rules

to support other screens for which it works.

What do you think?

Thanks,
--MG