unity3d - Mapping bluetooth controller in Unity -


i thinking of buying bluetooth controller. somthing this :

or this.

can use these bluetooth controllers unity? how can map these controllers ? in advance.

as connect bluetooth controller, gets handled os device. need find out key corresponds keycode.

for example, write this

public void detectpressedkeyorbutton()  {      foreach(keycode kcode in enum.getvalues(typeof(keycode)))      {          if (input.getkeydown(kcode))              debug.log("keycode down: " + kcode);      }  } 

Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

minify - Minimizing css files -

php - How to remove letter in front of the word laravel -