Animation when screen is touched?

Asked by Bob

I was just wondering if it is possible to get a little animation or something to run when I tap the screen like in windows 7.
You can enable 'Show position of pointer when the Control key is pressed', so is it possible to get that animation to run when you tap the screen, but not when you click with a normal mouse or touchpad or start dragging or gesturing with the touchscreen. Make sense?

I'm not an expert coder but if someone could point me in the right direction I'm happy to give it a go.

Question information

English Edit question
Open Input Framework Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chase Douglas (chasedouglas) said :

We have been interested in adding this functionality, but we haven't gotten to it yet. The easy solution would be to add a compiz plugin to listen for multitouch events on the root window and use the locations to draw effects. However, this may end up interfering with the eventual uTouch compiz plugin that will be used for gesture recognition. For now I would say feel free to try creating an XInput 2.1 compiz plugin, but know that it may not work once we get around to moving the uTouch stack into the compiz space.


Revision history for this message
Mohamed IKBEL Boulabiar (boulabiar) said :

The visual feedback can be divided into 2 separate subjects:
1. For mt event => draw fingers movement
2. For gesture => draw a "special animation" only once a gesture is recognized and consumed/fired

it's not as simple as it appears because you need to know when to draw, and when to not do this if a drawing application for example is consuming events.

Compiz has a nice architecture for handeling communication between his plugins, so we can find a solution in the future.
(But a lot of discussion needs to be addressed to the subject first)

Can you help with this problem?

Provide an answer of your own, or ask Bob for more information if necessary.

To post a message you must log in.