KeyEvent.IsGamepadButton(Keycode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if the specified keycode is a gamepad button.
[Android.Runtime.Register("isGamepadButton", "(I)Z", "")]
public static bool IsGamepadButton (Android.Views.Keycode keyCode);
[<Android.Runtime.Register("isGamepadButton", "(I)Z", "")>]
static member IsGamepadButton : Android.Views.Keycode -> bool
Parameters
- keyCode
- Keycode
Returns
True if the keycode is a gamepad button, such as #KEYCODE_BUTTON_A
.
- Attributes
Remarks
Returns true if the specified keycode is a gamepad button.
Java documentation for android.view.KeyEvent.isGamepadButton(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.