X-Git-Url: https://git.kernelconcepts.de/?p=metawatch.git;a=blobdiff_plain;f=metawatch_protocol.h;h=8a1207503bbb5639fece2504b1855e871c3ec65d;hp=35460d69651d05e6d9f0dcbb315d6cba68b28d55;hb=a32e1e3a9f9e81bbf05beac619d1feb4941efc46;hpb=33ec672c8dde0917d84ff818e3298ca2d2258aab;ds=sidebyside diff --git a/metawatch_protocol.h b/metawatch_protocol.h index 35460d6..8a12075 100644 --- a/metawatch_protocol.h +++ b/metawatch_protocol.h @@ -1,3 +1,9 @@ +/* + * (c) 2011 Siegen, Germany by Nils Faerber + * + * license LGPL + */ + #ifndef _MW_PROT_H #define _MW_PROT_H @@ -45,5 +51,24 @@ #define MW_ACCELEROMETER 0xea +#define MW_SCREEN_MODE_IDLE 0x00 +#define MW_SCREEN_MODE_APPLICATION 0x01 +#define MW_SCREEN_MODE_NOTIFICATION 0x02 +#define MW_SCREEN_MODE_SCROLL 0x03 + +const char *mw_screen_mode_names[] = { + "idle screen", + "application screen", + "notification screen", + "scroll" +}; + +const char *mw_status_string[] = { + "Reserved", + "Mode Change", + "Display Timeout" +}; + + #endif