When a person presses a button on the device itself (such as the volume+ (to increase the volume) or volume- (to decrease the volume) not a button created in the game) how does Unity record these events?
Basically I want to find out if the user presses a physical button on the device and if so which one.
Jason
Unity doesn’t have any way of detecting that. Look at the scripting documentation for the Input class to see everything that’s available.
To answer my own question when the Nook button is pressed on a Color Nook it returns an “escape” keycode. Assign the escape key to an input axis and then in the Update() function of a script use if(Input.GetButtonDown(“KEYUSEDFORINPUTAXIS”)) to catch the response.
Jason