Mercurial > hg > index.fcgi > lj > lj046
diff src/talkback.h @ 0:c84446dfb3f5
initial add
author | paulo@localhost |
---|---|
date | Fri, 13 Mar 2009 00:39:12 -0700 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/talkback.h Fri Mar 13 00:39:12 2009 -0700 1.3 @@ -0,0 +1,24 @@ 1.4 +/* 1.5 +This struct lives in the ARM9's memory. It is used to send data back 1.6 +to the ARM7. 1.7 + 1.8 +By Damian Yerrick. No rights reserved and ABSOLUTELY NO WARRANTY. 1.9 +*/ 1.10 +#ifndef TALKBACK_H 1.11 +#define TALKBACK_H 1.12 + 1.13 +typedef struct P8A7Talkback { 1.14 + unsigned long int sounds; 1.15 + signed char countdown; 1.16 + unsigned char cmd; 1.17 +} P8A7Talkback; 1.18 + 1.19 +enum { 1.20 + TALKBACK_NONE = 0, 1.21 + TALKBACK_POWER_OFF = 1, 1.22 + TALKBACK_PLAY_MUSIC = 2, 1.23 + TALKBACK_STOP_MUSIC = 3, 1.24 + TALKBACK_PAUSE_MUSIC = 4 1.25 +}; 1.26 + 1.27 +#endif