thanks, I managed to make the cursor appear on click just by changing an if statement
var _num = mis_data().max_keyboards;
for(var i = 0; i < _num; i++){
if (!mis_device_port_is_connected(i, MIS_DEVICE_TYPE.keyboard)){
//Connect if any key is pressed
if (keyboard_check_pressed(vk_anykey) || mouse_check_button_released(mb_any)){
mis_device_connect(MIS_DEVICE_TYPE.keyboard, i);
}
}
}
I admit that I think it's a lazy solution... 😅 maybe I'll change it if there's a problem but so far it's going well