Use Vec2 in input devices even for integral types
Implement cursor_xy() and set_cursor_xy() in lua binds