Author Topic: Backlight Level Applet  (Read 3241 times)

gfdsa

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Backlight Level Applet
« on: March 26, 2005, 12:21:17 pm »
Hi, All
The QPE/System", "setBacklight(int)" does not work on tosa, so as i am lazy, and didnt want to look into opie/qtopia/qt code, i've modified applete from here to do the changes through procfs http://zefamily.org/ZaurusProjects.html.
I'm not a c++ programmer, so all that QT stuff makes me dizzy a little, but anyway it is working and does what i need:
http://www.gfdsa.org/~gfdsa/liblightswitch-tosa.so.1.0.0
http://www.gfdsa.org/~gfdsa/lightswitchapplet-tosa.cpp
lightswitchapplet-tosa.cpp
compiled for OZ/3.5.2

Any comments are welcome
« Last Edit: March 26, 2005, 12:23:38 pm by gfdsa »

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Backlight Level Applet
« Reply #1 on: March 26, 2005, 12:55:54 pm »
Nice. Note that brightness control in Opie has been fixed to work with Tosa some months ago in CVS. It will be part of OZ 3.5.3 due pretty soon.
« Last Edit: March 26, 2005, 12:56:28 pm by Mickeyl »
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.