瀏覽代碼

small fix.

SakiKawasaki 5 年之前
父節點
當前提交
82be729d7c
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/nodesnim/core/input.nim

+ 6 - 0
src/nodesnim/core/input.nim

@@ -32,6 +32,12 @@ type
     x*, y*, xrel*, yrel*: float
     key*: string
 
+  InputEventVoid* = distinct int8
+  InputEventMouseButton* = distinct int8
+  InputEventMouseMotion* = distinct int8
+  InputEventTouchScreen* = distinct int8
+  InputEventKeyboard* = distinct int8
+
 
 const
   BUTTON_LEFT* = 0