User Tools

Site Tools


script:module:input

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
script:module:input [2019-11-17 18:03]
skyjake
script:module:input [2019-12-16 09:23] (current)
skyjake [Functions]
Line 8: Line 8:
  
  
-#​@Identifier_HTML~bindEvent~@#​ ( #​@Arg_HTML~Text,​eventSpec~@#,​ #​@Arg_HTML~Text,​command~@#​ ) +#​@Identifier_HTML~bindEvent~@#​ ( 
- + #​@Arg_HTML~Text,​eventSpec~@#,​ 
-Creates an [[guide:​event_binding]] for the provided event. Whenever the event is received, the specified command will be executed. Returns True or False to indicate successful creation of the binding.+ #​@Arg_HTML~Text,​command~@#​ )
  
 +Creates an [[guide:​event binding]] for the provided event. Whenever the event is received, the specified command will be executed. Returns True or False to indicate successful creation of the binding.
  
   Input.bindEvent("​key-k-down",​ 'echo "K was pressed!"'​)   Input.bindEvent("​key-k-down",​ 'echo "K was pressed!"'​)
  
- +This function works the same way as the console command ''​bindevent''​.
-**Note:​** ​This function works the same way as the console command ''​bindevent''​.+
  
  
  
script/module/input.1574006634.txt.gz · Last modified: 2019-11-17 18:03 by skyjake