Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Touchscreen on raspberry: problem with events
Re: Touchscreen on raspberry: problem with events [message #49596 is a reply to message #49549] Fri, 09 March 2018 18:34 Go to previous messageGo to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
mirek wrote on Tue, 27 February 2018 09:15
I have tried to alter mouse flags code to reflect what have we learned so far. Can you retest with current trunk please? (Maybe backup Switch.cpp so that we can do those LOGs again)


Hi Mirek,
I downloaded and compiled the latest nightly build (11829) and when I made a single touch over a Switch control and now the control works as expected.
Thank you for the fix!

Just for the records: I put in the source of with upp-11799 with following log line in Switch::MouseMove, Switch::LeftDown and SwitchLeftUp:

LOG("MouseMove");
DUMP(p);
DDUMP(keyflags & K_MOUSELEFT);


I modified also the GtkEvent.cpp modified as per you message.

With those modifications I get an error and the application does not start:

****************** PANIC: Invalid memory access!

/usr/bin/xmessage
Error: Can't open display:
Segmentation fault

P.S. I am sorry I am not able to provide you with a prompt feedback, but programming is just 10% of my job, so I often have to take care of other assignments.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help wanted for DebugVisualizer
Next Topic: Upp as a shared library
Goto Forum:
  


Current Time: Thu Apr 25 06:05:51 CEST 2024

Total time taken to generate the page: 0.03513 seconds