There aren't many devices released these days that don't feature a touch screen. Most new devices have adopted this as the primary input method and have dropped physical buttons almost entirely.
In Marmalade we detect touch screen events using the
s3ePointer API, which I have to admit is perhaps not the most obvious name for an API that handles touch screen input. To use this API in our own program we just need to include the
The reason for this slightly bizarre naming is that when this API was first developed, touch screens were not commonplace. Instead, some devices had little joystick-style nubs that were able to move a pointer around the screen, much like a mouse on a computer.