Pixel-Composer/scripts/__initPen/__initPen.gml

27 lines
630 B
Text
Raw Normal View History

globalvar PEN_USE, PEN_POOL, PEN_CONTACT, PEN_RELEASED, PEN_PRESSURE;
2024-04-18 07:12:31 +02:00
globalvar PEN_X, PEN_Y, PEN_X_DELTA, PEN_Y_DELTA;
2024-03-02 10:08:44 +01:00
globalvar PEN_RIGHT_CLICK, PEN_RIGHT_PRESS, PEN_RIGHT_RELEASE;
PEN_USE = false;
PEN_POOL = 0;
2024-04-08 07:13:46 +02:00
2024-03-02 10:08:44 +01:00
PEN_X = 0;
PEN_Y = 0;
2024-04-18 07:12:31 +02:00
PEN_X_DELTA = 0;
PEN_Y_DELTA = 0;
2024-03-02 10:08:44 +01:00
PEN_CONTACT = false;
PEN_PRESSURE = 0;
PEN_RIGHT_CLICK = false;
PEN_RIGHT_PRESS = false;
PEN_RIGHT_RELEASE = false;
function __initPen() {
2024-09-09 06:26:31 +02:00
if(OS == os_macosx) return;
2024-03-02 10:08:44 +01:00
var c = tabletstuff_get_init_error_code();
if (c != tabletstuff_error_none)
show_error("Unable to initialize TabletStuff. Code=" + tabletstuff_error_to_string(c), true);
}