Optimize Touch Support in UCCNC

Here is where you can request new features or special features.

Optimize Touch Support in UCCNC

Postby peini7 » Sat Jan 05, 2019 9:02 am

Hi
i'am planning to use a touch screen monitor for UCCNC because the screenset is already touch-friendly.
But i've noticed that the buttons are not updating acordingly to the touch events.
For example if you touch a button it will not be displayed as "pressed". You allways need to double-tap it.
As far as i know UCCNC is written in WinForms. Maybe an upgrade to a newer .NET version or some other tweaks are needed.
Maybe you can add this to your roadmap please :D
peini7
 
Posts: 6
Joined: Sat Sep 15, 2018 7:29 am

Re: Optimize Touch Support in UCCNC

Postby cncdrive » Sat Jan 05, 2019 1:25 pm

Yes, the UCCNC runs under .NET and the touch is handled by Windows.
I don't think that upgrading to newer .NET will change anything, however you are right that there are specific touch events in newer .NETs, but we do not need those for the UCCNC, they are special functions, like touch and fingers moves to zoom and drag etc., we don't need those in the UCCNC.
In Windows the simple touch events are handled by Windows and so they should work the same as mouse clicks and that is what is handled in the UCCNC (mouse clicks).
Ofcourse the touch screen drivers can override that and maybe that is the issue at you... I mean it is possible that your touch screen drivers handles things differently overriding the default simple tap (mouse click) command.
cncdrive
Site Admin
 
Posts: 2641
Joined: Tue Aug 12, 2014 11:17 pm

Re: Optimize Touch Support in UCCNC

Postby dezsoe » Sat Jan 05, 2019 5:12 pm

The problem with the touchscreen is not driver dependent, but comes from the standard touch handling. When you touch the screen it will not know what kind of touch will happen, because if you hold the touch then it will turn to right click, or you can drag the point etc. When you release the screen then will Windows send a mouse down and after that a mouse up event. If there was a delay between the two events then you could see the button going down and up, but there's a too short delay.
dezsoe
 
Posts: 728
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 5 guests