소스 검색

small fix.

Ethosa 4 년 전
부모
커밋
012e3c944d
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