InputEvent.js 504 B

12345678910111213141516171819202122
  1. function InputEvent() {
  2. }
  3. InputEvent.prototype.getMousePosition = function() {
  4. Polycode.InputEvent_getMousePosition(this.__ptr)
  5. }
  6. InputEvent.prototype.getKey = function() {
  7. Polycode.InputEvent_getKey(this.__ptr)
  8. }
  9. InputEvent.prototype.getMouseButton = function() {
  10. Polycode.InputEvent_getMouseButton(this.__ptr)
  11. }
  12. InputEvent.prototype.getCharCode = function() {
  13. Polycode.InputEvent_getCharCode(this.__ptr)
  14. }
  15. InputEvent.prototype.keyCode = function() {
  16. Polycode.InputEvent_keyCode(this.__ptr)
  17. }