View Single Post
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#3
I think that this will make some people happy

Proximity dashboard can be now used to launch phone application.

Touch the proximity sensor, a dashboard will appear. Touch it a bit longer, the phone application will be started. If you keep the sensor touched for about 4 seconds it will turn dashboard/phone launching off and on.

I have also added support for double-tap for the phone application, you need to start it with:

Code:
./mpd dt
but, It may be a bit tricky to use it (proximity sensor is not really the best for double-tapping, as you need to take your finger far away from it to register the pause).


I will put to extras on weekend. Compile with:

Code:
gcc mpd.c -lX11 -lXtst `pkg-config --cflags glib-2.0, liblocation --libs glib-2.0, liblocation` -o mpd

mpd

mpd.c
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 

The Following 3 Users Say Thank You to hopbeat For This Useful Post: