Touchscreen code examples
Don M
Posts: 1,653
Other than Rayman's PSB Paint code does anyone have any examples or tutorials on implementing touchscreen activity? Maybe a simple example of how to make (draw) a button and make that button active when touched.
I looked through his code and there is quite a bit of it. It's hard for me to understand what parts are for actually drawing a button on the screen, which part actually interacts with the touchscreen and how to define the touch parameters. Seems like this subject would make a good tutorial.
I am going to start by "tearing apart" Rayman's PSB Paint code to try and understand for myself which parts do what.
Any help or guidance appreciated.
Thanks.
Don
I looked through his code and there is quite a bit of it. It's hard for me to understand what parts are for actually drawing a button on the screen, which part actually interacts with the touchscreen and how to define the touch parameters. Seems like this subject would make a good tutorial.
I am going to start by "tearing apart" Rayman's PSB Paint code to try and understand for myself which parts do what.
Any help or guidance appreciated.
Thanks.
Don
Comments
Below is what I was able to code using Rayman's 3.5" LCD and pcb and lots of 'sweat' poring over his demos. Draw borders, scale, display buttons to select, inc/dec values, touch-place vertical cursor markers and extract time between cursors, to name some.
MVC-073S.JPG