Diffstat (limited to 'libopie2/opiecore/device/odevice_zaurus.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.h | 20 |
1 files changed, 9 insertions, 11 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 | |||
@@ -75,17 +75,14 @@ | |||
75 | #define APM_IOCSEVTSRC OD_IORW( 'A', 204, int ) | 75 | #define APM_IOCSEVTSRC OD_IORW( 'A', 204, int ) |
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 { |
91 | namespace Internal { | 88 | namespace Internal { |
@@ -95,11 +92,12 @@ class Zaurus : public ODevice | |||
95 | virtual void init(const QString&); | 92 | virtual void init(const QString&); |
96 | virtual void initButtons(); | 93 | virtual void initButtons(); |
97 | 94 | ||
98 | public: | 95 | public: |
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(); |
105 | virtual void playKeySound(); | 103 | virtual void playKeySound(); |