Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nevermore-kang
/
Maze

Model card Files Files and versions
xet
Community
1
Maze / Library /PackageCache /com.unity.inputsystem@1.6.1 /Documentation~ /HowDoI.md
nevermore-kang's picture
nevermore-kang
Upload folder using huggingface_hub
18a519f verified over 2 years ago
preview code
|
Raw
History Blame
2.41 kB

How do I…?

A collection of frequently asked questions, and where to find their answers in the documentation.

How do I...?

  • check if a specific key or button was pressed this frame?

  • check if any key or button was pressed

  • find all connected gamepads?

  • find the gamepad that the player is currently using?

  • know when a new device was plugged in?

  • create my own custom devices?

  • create a simple "Fire" type action?
    Use the same techniques shown for the "Jump" action in the Workflows section

  • require a button to be held down for some duration before triggering an action?

  • use a "positive" and a "negative" button to drive an axis?

  • create a UI to rebind input in my game?

  • set up an Action to specifically target the left-hand XR controller?

  • make my left-hand XR controller my right-hand one?

  • get all current touches from the touchscreen?

  • deal with my gamepad data arriving in a format different from GamepadState?

  • force the Input System to use my own layout when the native backend discovers a specific Device?

  • add deadzoning to my gamepad sticks?

  • give my head tracking an extra update before rendering?

  • record events flowing through the system?

  • see events as they're processed?

  • see what Devices I have and what state they're in?