SHARE
TWEET

event.lua

a guest Sep 17th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --os.loadAPI("APIs/eventFramework/event.lua")
  2. --F=_G[event]
  3. charTyped=function(letter)return letter end
  4. keyReleased=function(keyCode)return keyCode end
  5. keyPressed=function(keyCode,isHeld)return keyCode,isHeld end
  6. timeOutFinish=function(timer)return timer end
  7. alarmTriggered=function(alarm)return alarm end
  8. taskComplete=function(task,isSuccess,error,param) return task,isSuccess,error,param end
  9. redstoneStateChanged=function()return nil end
  10. terminate=function()return nil end
  11. diskInserted=function(side)return side end
  12. diskEjected=function(side)return side end
  13. peripheralAttached=function(side,type)return side,type end
  14. peripheralDetached=function(side)return side end
  15. rednetMessageRecieved=function(sender,message,dist)return sender,message,dist end
  16. modemMessageRecieved=function(side,frequency,replyFreq,message,dist)return side,frequency,replyFreq,message,dist end
  17. mouseClicked=function(button,x,y)return button,x,y end
  18. mouseReleased=function(button,x,y)return button,x,y end
  19. mouseScrolled=function(direction,x,y)return direction,x,y end
  20. mouseDragged=function(button,x,y)return button,x,y end
  21. monitorTouched=function(side,x,y)return side,x,y end
  22. monitorResized=function(side)return side end
  23. termResized=function()return nil end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top