Reply
Thread Tools
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#21
We will add the possibility to customize the shortucts/functions of proximity sensor (and the camera button), first on a global basis, later per-application.
One of the options is to emulate an unused key, which can be then used by various applications. So one demon polling the sensor and switching the functions, based on the current application.

Next week, when the exams are over, we should have a combined proximity/camera shortcut handler, with basic options (dashboard and phone app). Then we will work on configuration and personalization.

Thanks for the great ideas
BTW. current version that is on the server, uses vibration feedback for the sensor, I think it's a nice feature. More will come soon.
__________________
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 5 Users Say Thank You to hopbeat For This Useful Post:
pillar's Avatar
Posts: 154 | Thanked: 124 times | Joined on Mar 2007
#22
Plain awesome, keep up the good work! Now these kind of things were the reason I wanted N900 and maemo - an open platform where a very specific problems can be solved through community. I love it.

A feature along these lines that I have thought would be useful, at least for me:

1) Switching between last open window (sort of like quick alt-tab on windows)

Last edited by pillar; 2009-12-10 at 13:29.
 

The Following User Says Thank You to pillar For This Useful Post:
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#23
Thanks

Making alt-tab seems to be problematic, we haven't found any way to switch between the windows/bring them to front. If anyone figures that out, let us know
__________________
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 4 Users Say Thank You to hopbeat For This Useful Post:
bongo's Avatar
Posts: 291 | Thanked: 124 times | Joined on Feb 2006 @ Trier, Germany
#24
@hopbeat

Good work (dobra robota), thx.
It would be nice if you could provide a daemon to send dbus signals so you and other developers can go a 'standard' way to access the sensor.
__________________
ongo bongo!

Last edited by bongo; 2009-12-12 at 09:37.
 

The Following User Says Thank You to bongo For This Useful Post:
Posts: 119 | Thanked: 22 times | Joined on Dec 2009
#25
Where do we get this application from? Does it have a GUI or do you need to use XTerminal?

I'm new to Linux so wouldn't know how to use Xterminal to do it.

Any pointers would be helpful
 

The Following User Says Thank You to inzimam For This Useful Post:
msa's Avatar
Posts: 909 | Thanked: 216 times | Joined on Nov 2009 @ Bremen, Germany
#26
so how exactly does it work?
you compile mpd.c with the commandline you gave us.
and then what? thats it? what if you want to remove that feature again?

sorry, i have only very limited programing-knowledge
 

The Following User Says Thank You to msa For This Useful Post:
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#27
@inzimam and @msa, at the moment the app is under construction, the code posted here was rather a POC. It's taking a while, but you know how it is, with Christmas and all.

@bongo, I have written a daemon that sends dbus signals on state change. It is optimized a bit, so it should be good enough to sit there as a standard daemon.

You can access it from

Code:
"/proximityd/signal/state", "proximityd.signal.state",                                "changed"
values are 'open' and 'closed'.
Polling is done every 10ms, footprint is acceptable.
I haven't found any smarter way than actual polling from the file, as inotify read() doesn't work with pseudo-file system.
There is a bug opened for handling of proximity sensor in Maemo.
__________________
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 User Says Thank You to hopbeat For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#28
Could you put the source online again? Thanks
__________________
Ernesto de Bernardis

 
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#29
Currently, this proximity handler is part of shortcutd, you can get it from

http://shortcutd.garage.maemo.org/

It's in a working state, we will make a package soon

[edit] It requires proximityd (available in extras-testing) to work
__________________
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

Last edited by hopbeat; 2009-12-24 at 07:32.
 

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


 
Forum Jump


All times are GMT. The time now is 11:17.