147 posts
Location
England
Posted 27 October 2012 - 03:15 PM
I am gonna try and make one of the best OSes ever but I can't find any documentation on the mouse functions. I'd appreciate some help please. Thanks in advance
2005 posts
Posted 27 October 2012 - 03:39 PM
You want the
os.pullEvent() "mouse_click".
147 posts
Location
England
Posted 27 October 2012 - 03:45 PM
In the paint program there is a mouse_drag event. Where is the information about that?
2005 posts
Posted 27 October 2012 - 03:50 PM
You can try asking the program creator about it.
Or you can use a repeat t_event = {os.pullEvent()} print(textutils.serialize(t_event)) until t_event[2] == "X" to check out what kinds of events you can see. Play around, just don't press Shift+X till you're done.
Edited on 27 October 2012 - 01:53 PM