// Get the current touch coordinates int x, y; touchscreen.getCoordinates(&x, &y);
// Set the display mode to 1024x768 @ 60Hz sigma_display_set_mode(1024, 768, 60);
public class TouchExample { public static void main(String[] args) { // Initialize the touchscreen device Touchscreen touchscreen = new Touchscreen(); touchscreen.init();
// Get the current touch coordinates int x, y; touchscreen.getCoordinates(&x, &y);
// Set the display mode to 1024x768 @ 60Hz sigma_display_set_mode(1024, 768, 60);
public class TouchExample { public static void main(String[] args) { // Initialize the touchscreen device Touchscreen touchscreen = new Touchscreen(); touchscreen.init();