Quantcast
Channel: Questions in topic: "keyboard"
Browsing all 605 articles
Browse latest View live
↧

FPS Microgame mouse or keyboard not working

Hello, I've been using Unity for a while, today I decided to try those microgames made by Unity, I downloaded and imported FPS Microgame to Unity.. But mouse or keyboard isnt working while trying it...

View Article


[Help Wanted] How achieve rebinding keys based on New Input System?

The "Rebinding UI" of Input System package **doesn't work** actually. I have searched for too many meterial but most of them are not entire. I would like to have a reference of rebinding at runtime.

View Article


How to detect value changes in new input system

I am converting a joystick into key values. Best way I can think to do this is using the new input system on a joystick such that while moving it you press the according keys `wasd` So I have my...

View Article

ZQSD Analog input do not return analog value.

I have the following setup ![alt text][1] [1]: /storage/temp/184845-screenshot-2021-08-15-205951.png SO I am expecting an Analog value like a Joystick when doing Vector2 input =...

View Article

Can you simulate key press within WebView?

I'm not entirly skilled with code but im attempting to use WebView to move a game from browser to mobile. I have the game working and openeing fine, but I need to make UI buttons to siulate keyboard...

View Article


Input system looses keypress after a few frames

Unity2020.3.17f1 , InputSystem 1.0.2 I track player movement with the input system package. With gamepad everything works as expected. When i use the keyboard it does not recognize the keypresses most...

View Article

[Android] Keyboard doesn't show immediately when selecting inputfield as S Pan.

Hello! When selecting Inputfield using span, the keyboard does not come up and only the box is displayed at the bottom. If you select the box, the keyboard will appear, but I want to set the keyboard...

View Article

How to keep opening of keyboard when focus transferred to another input field...

,Hi, I am working on OTP section. For this, I have 6 input fields and one submit button. And also, I have written script for auto focus by following code. number1.onValueChanged.AddListener((text)...

View Article


Capturing some key presses from a (TMP) InputField

Is there a way to capture some key presses and prevent them from propagating to a (TMP) InputField, but not most keys? For example, while the field is selected I want to do something when the up or...

View Article


How can I activate the context menu in the Unity Editor via the keyboard?

Does anyone know how to activate the context menu in the Unity Editor using only the keyboard? This would be the same as right-clicking on an object or item in the Editor window, but with a key....

View Article

Oculus Quest 2 system keyboard with XR Rig

My project is using an XR Rig and I want to use the Oculus Quest system keyboard. After a whole day of research I am able to display it in build (but not in the editor...). But when it appears the...

View Article

Switching between mouse/keyboard and controller for UI navigation (using...

I'm working on a project using the new Input System, and when I'm controlling a character, I can seamlessly switch between my mouse/keyboard and controller. However, the same can't be said for UI...

View Article

Both joypad and keyboard input in background

Hello. I want to use both joypad and keyboard input in background in a app. I found if I use UnityRawInput (https://github.com/Elringus/UnityRawInput) keyboard inputting in background works well. In...

View Article


InputField not triggering on screen keyboard in Android

I have tried clicking GameObject > UI > Input Field to add one. No settings changed from there. I then build an APK of this and open it in Android Studio device simulator. The app opens fine and...

View Article

Can keyboard repeat rate be detected?

I've got a game I use in research. As people learn that a light predicts an attacking spaceship, they start hitting a key associated with a weapon to charge it up before the ship appears. I'm using...

View Article


Why unity not working after launching .exe but works when build and run?

I had added keyboard inputs within the code to perform certain tasks. It is working as expected when tried on the unity editor and also on unity when build and run. Unfortunately, its not working after...

View Article

How to set closeKeyboardOnOutsideTap?

I don't really understand the documentation for `closeKeyboardOnOutsideTap`, I should be able to set it with `TouchScreenKeyboard.Android.closeKeyboardOnOutsideTap` and `using.UnityEngine`......

View Article


Unity rebinded Keys names are wrong on azerty keyboard

So I have a working rebinder script, but the problem is when I want to display the rebinded keys names. The code below returns the right names for a qwerty keyboard, but not for a azerty keyborad !...

View Article

Only accept certan keys in unity?,Only accept certain keys in unity?

Hello! I have made a key listener in unity, but this listens to every key, but I only want A-Z, and enter. I will share the script, but im not sure how to fix this. using System.Collections; using...

View Article

Rebind - Excluding Certain Keys

Hello, I've been working on a rebind system for my game's input system. I'm only allowing the player to rebind "action" controls (jump, melee, shoot, etc), but not the movement. I have both the WASD...

View Article
Browsing all 605 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>