X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fcreativision.h;h=a97109029279a41928736af21ca6709ccec3c5f2;hb=78daf84f1269ca2ae0c935946b4e336641f889b2;hp=5cc99b7affb04ce8fd5f92ca448ee26f29a4e3f0;hpb=035baa49bd47eb0361c6049ed814aa8c740d98ba;p=cc65 diff --git a/include/creativision.h b/include/creativision.h index 5cc99b7af..a97109029 100644 --- a/include/creativision.h +++ b/include/creativision.h @@ -40,6 +40,14 @@ #define CH_LLCORNER 37 #define CH_LRCORNER 38 +/* Masks for joy_read */ +#define JOY_UP_MASK 0x10 +#define JOY_DOWN_MASK 0x04 +#define JOY_LEFT_MASK 0x20 +#define JOY_RIGHT_MASK 0x08 +#define JOY_BTN_1_MASK 0x01 +#define JOY_BTN_2_MASK 0x02 + /* no support for dynamically loadable drivers */ #define DYN_DRV 0