maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 Video focus and led light, python script (https://talk.maemo.org/showthread.php?t=46427)

maartenmk 2010-08-05 12:49

Re: N900 Video focus and led light, python script
 
It doesn't look like it, the author has been absent for a while.
At the moment I cannot recommend it, due to the proximity sensor being used to bring up the focus slider. It happens much too easily, also when the camera app is not on the foreground. Especially a problem for left-handed people I suppose.

(If anyone knows where I could get the 0.520 version, where this function was not yet implemented, please let me know...)

Crogge 2010-08-10 20:49

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by maartenmk (Post 776519)
It doesn't look like it, the author has been absent for a while.
At the moment I cannot recommend it, due to the proximity sensor being used to bring up the focus slider. It happens much too easily, also when the camera app is not on the foreground. Especially a problem for left-handed people I suppose.

(If anyone knows where I could get the 0.520 version, where this function was not yet implemented, please let me know...)

We could use a older version for now, that worked fine without this annoying proximity sensor.

eitama 2010-08-10 21:59

Re: N900 Video focus and led light, python script
 
I found the sources of version 0.520 in the repositories but I have no idea on how to create a deb file out of it, I have not dealt with packaging python on N900.
If anyone knows, please let me know - We can set up a deb file with a descent version.

eitama 2010-08-11 13:25

Re: N900 Video focus and led light, python script
 
Good news!!!

For those who don't like the problems the proximity feature introduces, I found out how to disable it!!!

It is super easy.
  • In your preffered way, find a way to edit the "lfocuswi.py" file.
  • The file is located inside "/usr/lib/hildon-desktop" folder.
  • remove lines 97 - 101 completely (or comment them)
  • This will disable proximity sensor trigger.
  • Reboot your phone - And thats it.
  • Keep in mind, if you update this app with a newer version then the latest which is 0.528-4, this change will be overwritten - but, if there is a new version it means the developer is back and he will solve the problems anyway (i think).
  • We can just thank the original developer for developing this great app, and doing it in python while sharing the code, allowing us to hack it easily.

Cheers!
And just to show how good this really is for macro pics, I tested it after disabling the proximity sensor. (don't forget reboot phone)

Crogge 2010-08-21 20:59

Re: N900 Video focus and led light, python script
 
Thanks Eitama that worked fine :) Now I miss a option to use one of the keys outside to enable the menu ^^

eitama 2010-08-22 05:50

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by Crogge (Post 794364)
Thanks Eitama that worked fine :) Now I miss a option to use one of the keys outside to enable the menu ^^

What do you mean mate?

Crogge 2010-08-22 17:59

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by eitama (Post 794617)
What do you mean mate?

Well that you can open the "lfocus" menu for example with the "volume buttons" or anything else. Its a bit difficult to put out the keyboard all the time, still nothing serious :)

TiagoTiago 2010-08-25 01:04

Re: N900 Video focus and led light, python script
 
I can use the on screen stuff, but nothing happens when i press any key :(

Also, the on screen stuff messes up the image in the viewfinder while active, any way to avoid that?

m2cm2c 2010-09-12 16:22

Re: N900 Video focus and led light, python script
 
lfocus_0.912-1
fixed typo in description
added a help button to display help for lfocus
moved the keyboard toggle button to the lfocus dialog
proximity now requires holding on for two seconds to activate the lfocus dialog
Now available in Extras-testing


I'm in need of testers, thank you.

eitama 2010-09-12 16:28

Re: N900 Video focus and led light, python script
 
Welcome Back :)

Installing now.


All times are GMT. The time now is 00:06.

vBulletin® Version 3.8.8