keyboard - How can I list available input devices with haxe? -
keyboard - How can I list available input devices with haxe? -
i list input devices available when launch application, can't find way in api.
how can list of available keyboards, mice, gamepads, touch screens, accelerometers...
haxe programming language compiles other languages. there projects utilize compiled haxe code deploy different runtimes. illustration nme framework compiles neko, html5, flash, mobile etc. question doesn't create strictest sense.
i uncertainty there api getting list of available input devices in nme evident. go through api 1 input @ time test if available or working guess.
do have special need this? people utilize compiler conditionals determine these things eg;
#if mobile //your touch input code #elseif desktop //your mouse / keyboard code #end
keyboard mouse haxe joystick input-devices
Comments
Post a Comment