- Home /
Recognize wrong keycode of Controller
I'm using this asset for recognize controller: https://assetstore.unity.com/packages/tools/input-management/controller-tester-43621?fbclid=IwAR3swWYRCjdfr4-BRo7U1O4MGRSdQJEaIGbEV-uG6DXchevhXfvuFUb_wkA
I tested with 3 PS4 controller and 2 android smartphone. With almost buttons and joystick of controller, It detected true. But when I pressed L2 and R2, it worked wrong. For example, when I press L2 at editor, It detected Axis 5 positive and Button 7 together, then when I'm not press anything, the application always detects axis 5 negative. When I press L2 at android smartphone, It detected Axis 6 positive and Button 7 together, then when I'm not press anything, the application always detects axis 6 negative.
I can't detect L2 and R2 true at all Operating system. And with different Operating systems, the keycode value of L2 and R2 is different. Where's the problem?
Sorry for my bad English, but I hope someone can help me. Thank you!
I don't know where the problem is. this is a test asset. you should probably use something like InControl
Thank you for your comment. But I'm not test asset. I show this asset because I want to describe how did I recognize keycodes of Controller.
Your answer
Follow this Question
Related Questions
Virtual joystick in the new input system 0 Answers
Unity hot plug-in with controller 0 Answers
Reading 'not defined' Controller Axis Input? 0 Answers
Controller shoulder buttons firing both at the same time. 0 Answers
Allow CrossPlatformInputManager to use a Custom VirtualInput extended Class [Unity5] 0 Answers