Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help: Map Joystick buttons
03-21-2013, 04:38 PM
Post: #1
Tongue Help: Map Joystick buttons
I am using a USB Joystick on my phone, I managed to map almost all but the circle button. Someone who uses Joystick can help me? Tongue

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
03-21-2013, 05:14 PM
Post: #2
RE: Help: Map Joystick buttons
Can u tell me how to use Joystic on phone? Big Grin I have an USB Joystic, but i don't know how to use it with phone. I use it with windows version of PPSSPP.

PC Specs:

GPU: AMD Radeon R9 270X 2GB GDDR5 (Sapphire Vapor-X)
CPU: AMD Ryzen 3 1200 3.9GHz (OC)
RAM: 8GB DDR4 2400 MHz
MB: ASRock AB350 Pro4
OS: Windows 10 PRO x64
Find all posts by this user
03-21-2013, 05:25 PM
Post: #3
RE: Help: Map Joystick buttons
This problem will continue until an in-game mapping solution is added,there should be frameworks already made that just need implementation around the web..
Find all posts by this user
03-21-2013, 05:27 PM
Post: #4
RE: Help: Map Joystick buttons
What is your device, and it depends on the ROM you use. I have a Galaxy S2, and only works on ROM 4.0.4 (Official), I had to install. I also use a cable OTG application and USB / BT Joystick Center. Just open the app, connect and Joytick precionar "search", then he will look over, in my appeared more or less like this: Generic USB Joystick, then I squeeze up and configure the buttons.

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
03-21-2013, 07:31 PM
Post: #5
RE: Help: Map Joystick buttons
I have an LG L3... I doubt it support USB Joystic. Also it have it official rom, not custom one.

PC Specs:

GPU: AMD Radeon R9 270X 2GB GDDR5 (Sapphire Vapor-X)
CPU: AMD Ryzen 3 1200 3.9GHz (OC)
RAM: 8GB DDR4 2400 MHz
MB: ASRock AB350 Pro4
OS: Windows 10 PRO x64
Find all posts by this user
03-21-2013, 07:34 PM
Post: #6
RE: Help: Map Joystick buttons
(03-21-2013 07:31 PM)srdjan1995 Wrote:  I have an LG L3... I doubt it support USB Joystic. Also it have it official rom, not custom one.

Maybe someone has made a custom rom with joystick support.

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
03-21-2013, 09:20 PM (This post was last modified: 03-21-2013 09:50 PM by Poo-Tang.)
Post: #7
RE: Help: Map Joystick buttons
(03-21-2013 07:31 PM)srdjan1995 Wrote:  I have an LG L3... I doubt it support USB Joystic. Also it have it official rom, not custom one.

If your device's FW/ROM is Android 3.1 or above it will have Native HID (Controller/Mouse) support as it is built into Google's code base. But as PPSSPP has no analog support on Android so this will be unhelpful at this time.

If your not on 3.1 or above you can still map hardware keys to Androids soft Keyboard (PPSSPP is only active on Xperia Play due to this) or you can emulate full touch screen inputs via Touch profiles on the SIXAXIS or GameKeyBoard applications.

(03-21-2013 04:38 PM)GuilhermeGS2 Wrote:  I am using a USB Joystick on my phone, I managed to map almost all but the circle button. Someone who uses Joystick can help me? Tongue

PPSSPP is mapped to the Circle button on an Xperia Play which is (Keycode_Button_B and Keycode_Back together) it appears the correct input for this is (ALT + KEYCODE_BACK). Sony coded it like this in their own framework. But not sure this mapping will work for apps like SIXAXIS/GameKeyBoard/JoystickCenter6 as you can only select one or another. If you can see in the chart (On link below) Back and Circle are the same keycode.

you can get the full keycodes from Sonys "How to develop gaming apps using the Xperia™ PLAY gamepad" page here below >

http://developer.sonymobile.com/2011/02/...game-keys/

To solve this Henrik could just add (Keycode_Button_B as Circle) and (Keycode_Button_A as Cross) to PPSSPP config along side the Xperia Play Mappings (Should not conflict) and Native Controller support (HID) would be included (Minus the Analog stick) as default.
Find all posts by this user
03-21-2013, 11:24 PM
Post: #8
RE: Help: Map Joystick buttons
I started tinkering and found it. But anyway, thanks. Smile

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
03-25-2013, 10:42 PM
Post: #9
RE: Help: Map Joystick buttons
Closed

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
Thread Closed 


Forum Jump: