Diffstat (limited to 'libopie2/opiecore/device/odevice_zaurus.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/libopie2/opiecore/device/odevice_zaurus.h b/libopie2/opiecore/device/odevice_zaurus.h index dc21546..37ab876 100644 --- a/libopie2/opiecore/device/odevice_zaurus.h +++ b/libopie2/opiecore/device/odevice_zaurus.h | |||
@@ -76,15 +76,12 @@ | |||
76 | #define APM_EVT_POWER_BUTTON (1 << 0) | 76 | #define APM_EVT_POWER_BUTTON (1 << 0) |
77 | 77 | ||
78 | // Brightness | 78 | // Brightness |
79 | #define FL_IOCTL_STEP_CONTRAST 100 | 79 | #define SHARP_FL_IOCTL_DEVICE "/dev/sharp_fl" |
80 | 80 | #define SHARP_FL_IOCTL_ON 1 | |
81 | #define CORGI_TOSA_BL_IOCTL_ON 1 | 81 | #define SHARP_FL_IOCTL_OFF 2 |
82 | #define CORGI_TOSA_BL_IOCTL_OFF 2 | 82 | #define SHARP_FL_IOCTL_STEP_CONTRAST 100 |
83 | #define CORGI_TOSA_BL_IOCTL_STEP_CONTRAST 100 | 83 | #define SHARP_FL_IOCTL_GET_STEP_CONTRAST 101 |
84 | #define CORGI_TOSA_BL_IOCTL_GET_STEP_CONTRAST 101 | 84 | #define SHARP_FL_IOCTL_GET_STEP 102 |
85 | #define CORGI_TOSA_BL_IOCTL_GET_STEP 102 | ||
86 | #define CORGI_BL_PROC_DEVICE corgi-bl | ||
87 | #define TOSA_BL_PROC_DEVICE tosa-bl | ||
88 | 85 | ||
89 | namespace Opie { | 86 | namespace Opie { |
90 | namespace Core { | 87 | namespace Core { |
@@ -99,6 +96,7 @@ class Zaurus : public ODevice | |||
99 | virtual bool setSoftSuspend ( bool soft ); | 96 | virtual bool setSoftSuspend ( bool soft ); |
100 | 97 | ||
101 | virtual bool setDisplayBrightness ( int b ); | 98 | virtual bool setDisplayBrightness ( int b ); |
99 | virtual bool setDisplayStatus( bool on ); | ||
102 | virtual int displayBrightnessResolution() const; | 100 | virtual int displayBrightnessResolution() const; |
103 | 101 | ||
104 | virtual void playAlarmSound(); | 102 | virtual void playAlarmSound(); |