Classes | |
| struct | XF_Pad |
| struct | Pads |
| struct | stylus_type |
| struct | XF_movingsprite |
Defines | |
| #define | XF_StylusInZone(x1, y1, x2, y2) ((Stylus.X>=x1)&&(Stylus.Y>=y1)&&(Stylus.X<=x2)&&(Stylus.Y<=y2)) |
| Check if the stylus is in a given zone... Returns 1 if yes, 0 if not X value of the upper left corner Y value of the upper left corner X value of the lower right corner Y value of the lower right corner. | |
| #define | XF_MoveSprite(sprite) XF_MoveSpriteEx(sprite, 1, 0) |
| #define | XF_MoveSpritePix(sprite) XF_MoveSpriteEx(sprite, 0, 1) |
Functions | |
| void | XF_InitStylus (void) |
| void | XF_UpdateInput (void) |
| u8 | XF_MoveSpriteEx (u16 sprite, u8 center, u8 pixel) |
| u16 | XF_SpriteTouchedPix (u16 sprite) |
| u8 | XF_SpriteTouched (u16 sprite) |
Variables | |
| Pads | Pad |
| XF_Pad | PadInfo |
| stylus_type | Stylus |
| XF_movingsprite | XF_MovedSprite |
| #define XF_MoveSprite | ( | sprite | ) | XF_MoveSpriteEx(sprite, 1, 0) |
Definition at line 68 of file xf_input.h.
| #define XF_MoveSpritePix | ( | sprite | ) | XF_MoveSpriteEx(sprite, 0, 1) |
Definition at line 69 of file xf_input.h.
| #define XF_StylusInZone | ( | x1, | |||
| y1, | |||||
| x2, | |||||
| y2 | ) | ((Stylus.X>=x1)&&(Stylus.Y>=y1)&&(Stylus.X<=x2)&&(Stylus.Y<=y2)) |
Check if the stylus is in a given zone... Returns 1 if yes, 0 if not X value of the upper left corner Y value of the upper left corner X value of the lower right corner Y value of the lower right corner.
Definition at line 62 of file xf_input.h.
| void XF_InitStylus | ( | void | ) |
Definition at line 16 of file xf_input.c.
Definition at line 163 of file xf_input.c.
Definition at line 178 of file xf_input.c.
| void XF_UpdateInput | ( | void | ) |
Definition at line 37 of file xf_input.c.
Definition at line 12 of file xf_input.c.
Definition at line 13 of file xf_input.c.
Definition at line 7 of file xf_input.c.
Definition at line 8 of file xf_input.c.
1.5.4