summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-24 19:37:47 (UTC)
committer llornkcor <llornkcor>2002-04-24 19:37:47 (UTC)
commitfeaa245515b0746f6f70f590411c38e0a54c88ee (patch) (side-by-side diff)
tree352ab6e61ea8e773d9f08f77db0ca36984c62c1d
parent17eb865ad8248b1f47c565b074b9b6bbbd44935b (diff)
downloadopie-feaa245515b0746f6f70f590411c38e0a54c88ee.zip
opie-feaa245515b0746f6f70f590411c38e0a54c88ee.tar.gz
opie-feaa245515b0746f6f70f590411c38e0a54c88ee.tar.bz2
enable keyclicks and touchsound on zaurus
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/custom-sharp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/custom-sharp.h b/library/custom-sharp.h
index f65d474..08f8a6f 100644
--- a/library/custom-sharp.h
+++ b/library/custom-sharp.h
@@ -61,24 +61,27 @@
#define SHARP_BUZ_DAILY_ALARM 12 /* daily alarm */
#define SHARP_BUZ_GOT_PHONE_CALL 13 /* phone call sound */
#define SHARP_BUZ_GOT_MAIL 14 /* mail sound */
#define CUSTOM_BUZZER( sound ) \
{ \
static int fd = open( "/dev/sharp_buz", O_RDWR|O_NONBLOCK ); \
ioctl( fd, SHARP_BUZZER_MAKESOUND, sound ); \
}
#define CUSTOM_SOUND_ALARM CUSTOM_BUZZER( SHARP_BUZ_SCHEDULE_ALARM )
+#define CUSTOM_SOUND_KEYCLICK CUSTOM_BUZZER( SHARP_BUZ_KEYSOUND )
+#define CUSTOM_SOUND_TOUCH CUSTOM_BUZZER( SHARP_BUZ_TOUCHSOUND )
+
#include <sys/ioctl.h>
#include <asm/sharp_char.h>
// a bit awkward, as this value is defined in emailclient.cpp aswell...
#define LED_MAIL 0
#define SHARP_LED_MAIL 9
#define CUSTOM_LEDS( led, status ) \
{ \
if ( led == LED_MAIL ) \
led = SHARP_LED_MAIL; \