-rw-r--r-- | library/custom-sharp.h | 3 |
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; \ |