瀏覽代碼

Added SetAutoPoll() function.

woollybah 10 年之前
父節點
當前提交
81a09f6717
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      polledinput.mod/polledinput.bmx

+ 10 - 1
polledinput.mod/polledinput.bmx

@@ -6,12 +6,14 @@ bbdoc: User input/Polled input
 End Rem
 Module BRL.PolledInput
 
-ModuleInfo "Version: 1.01"
+ModuleInfo "Version: 1.02"
 ModuleInfo "Author: Mark Sibly, Simon Armstrong"
 ModuleInfo "License: zlib/libpng"
 ModuleInfo "Copyright: Blitz Research Ltd"
 ModuleInfo "Modserver: BRL"
 
+ModuleInfo "History: 1.02"
+ModuleInfo "History: Added SetAutoPoll() function."
 ModuleInfo "History: 1.01 Release"
 ModuleInfo "History: Fixed charQueue bug"
 
@@ -350,3 +352,10 @@ Function WaitMouse()
 		Next
 	Forever
 End Function
+
+Rem
+bbdoc: Enables or disables autopolling.
+End Rem
+Function SetAutoPoll(value:Int)
+	autoPoll = value
+End Function