Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Q] Physical Key support & button setting
02-18-2013, 05:14 PM
Post: #1
Android controller setup
Hey guys,how well are usb controllers working for you on android?I'm using a ps3 controller with sixasis app installed on Nexus 7.When native gamepad is checked it doesn't recognize r1 l1 but when it is off it does.Arrows also work normally but the cross square and triangle don't work.
Any way to get all buttons working through the sixasis app?
Find all posts by this user
Quote this message in a reply
02-18-2013, 05:35 PM
Post: #2
RE: Android controller setup
https://play.google.com/store/apps/detai...oard&hl=nl
and remap the ps3 controller to xperia play controls.

or what might also work is to create a file named Vendor_054c_Product_0268.kl in /system/usr/keylayout containing
Code:
# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Sony Playstation(R)3 Controller
#

key 0x124    DPAD_UP
key 0x125    DPAD_RIGHT
key 0x126    DPAD_DOWN
key 0x127    DPAD_LEFT

key 0x120    BUTTON_SELECT
key 0x123    BUTTON_START
#key 0x12f    BUTTON_A
#key 0x12c    BUTTON_B
#key 0x12e    BUTTON_X
#key 0x12d    BUTTON_Y
key 0x12a    BUTTON_L1
key 0x12b    BUTTON_R1
key 0x128    BUTTON_L2
key 0x129    BUTTON_R2
key 0x121    BUTTON_THUMBL
key 0x122    BUTTON_THUMBR

# BTN_Y, BTN_B, BTN_A, BTN_X,
key 0x12c BUTTON_Y WAKE_DROPPED
key 0x12d BACK ALT WAKE_DROPPED
key 0x12e DPAD_CENTER WAKE_DROPPED
key 0x12f BUTTON_X WAKE_DROPPED

# PS key
key 0x2d0    BUTTON_1

# Left Analog Stick
axis 0x00    X
axis 0x01    Y

# Right Analog Stick
axis 0x02    Z
axis 0x05    RZ

# DPAD
# axis 0x2c   -HAT_Y
# axis 0x2d   +HAT_X
# axis 0x2e   +HAT_Y
# axis 0x2f   -HAT_X

# L2 trigger
axis 0x30   LTRIGGER

# R2 trigger
axis 0x31   RTRIGGER

# L1 trigger
# axis 0x32

# R1 trigger
# axis 0x33

# Triangle
# axis 0x34

# Circle
# axis 0x35

# Cross
# axis 0x36

# Square
# axis 0x37
or replace the contents of the existing file if it's already there(make a backup first)

I use the 2nd option and the controller attached through usb so I don't have to deal with loading separate apps before I can play.
Find all posts by this user
Quote this message in a reply
02-19-2013, 12:32 AM
Post: #3
RE: Android controller setup
Yes I use GameKeyBoard for my Bluetooh pad but I didn't know this second option.
I have to take it a look because any button I press in the pad on the drawer it makes a click on the selected button and when maping buttons on GameKeyBoard it recognise my buttons like Key 082 and this kind of button.

Others android games like corby I can use it without doing nothing.
Find all posts by this user
Quote this message in a reply
02-19-2013, 09:32 PM (This post was last modified: 02-19-2013 09:34 PM by williammau21.)
Post: #4
Brick [Q] Physical Key support & button setting
Will PPSSPP support physical game pad or QWERTY keyboard (include bluetooth)?Huh
Will there a day that I can setting button like epsxe or Gameboid?Angel

Send from my Photon Q 4G LTE.
Find all posts by this user
Quote this message in a reply
02-20-2013, 04:25 AM
Post: #5
The Android version does not recognize the PS3 handle
我用Sixaxis Controller连接手柄,但是O X键模拟器无法识别,而且右摇杆被模拟器认做了十字键。请问有解决方法么?

I use Sixaxis Controller connection ps3 handle,but O X simulator is not recognized, and the right rocker is recognized as a cross key simulator.
Find all posts by this user
Quote this message in a reply
02-20-2013, 06:47 AM (This post was last modified: 02-20-2013 06:47 AM by thedicemaster.)
Post: #6
RE: The Android version does not recognize the PS3 handle
http://forums.ppsspp.org/showthread.php?...84#pid4684
Find all posts by this user
Quote this message in a reply
02-20-2013, 06:53 AM
Post: #7
RE: [Q] Physical Key support & button setting
xperia play keys are already supported.
to use a USB or Bluetooth controller you can use either gamekeyboard, or a modified keylayout file.

if you are a developer you can also modify the hardcoded controls in the emulator itself.
Find all posts by this user
Quote this message in a reply
02-20-2013, 12:29 PM
Post: #8
RE: The Android version does not recognize the PS3 handle
(02-20-2013 06:47 AM)thedicemaster Wrote:  http://forums.ppsspp.org/showthread.php?...84#pid4684

thank you.
Find all posts by this user
Quote this message in a reply
02-20-2013, 04:26 PM
Post: #9
RE: [Q] Physical Key support & button setting
Using this app is possible to play with a joystick connected to a cable usb otg?

Link: https://play.google.com/store/apps/detai...y&hl=pt_BR

Phone: Xiaomi Redmi Note 6 Pro 4/64GB

PC: Core i5 3470/8GB RAM/GTX 660 2GB/Windows 10 Pro x64
Find all posts by this user
Quote this message in a reply
02-20-2013, 05:06 PM
Post: #10
RE: [Q] Physical Key support & button setting
Making buttons mapping inside emu would make things so much easier,I can't seem to get my ps3 wireless controller work with ppsspp on nexus 7.
Find all posts by this user
Quote this message in a reply
02-20-2013, 07:25 PM
Post: #11
RE: [Q] Physical Key support & button setting
(02-20-2013 05:06 PM)livisor Wrote:  Making buttons mapping inside emu would make things so much easier,I can't seem to get my ps3 wireless controller work with ppsspp on nexus 7.
That's probably because bluetooth is borked in android 4.1.2 (or 4.2, not sure) and up.
Find all posts by this user
Quote this message in a reply
02-20-2013, 07:31 PM
Post: #12
RE: [Q] Physical Key support & button setting
(02-20-2013 07:25 PM)Bennieboj Wrote:  
(02-20-2013 05:06 PM)livisor Wrote:  Making buttons mapping inside emu would make things so much easier,I can't seem to get my ps3 wireless controller work with ppsspp on nexus 7.
That's probably because bluetooth is borked in android 4.1.2 (or 4.2, not sure) and up.

I have the latest 4.2.2 update and my controller works with gba,nes,snes emulators since they have mapping in them.I would like the same for ppsspp in the near future.:-)
Find all posts by this user
Quote this message in a reply
02-21-2013, 08:20 AM
Post: #13
RE: [Q] Physical Key support & button setting
(02-20-2013 07:31 PM)livisor Wrote:  
(02-20-2013 07:25 PM)Bennieboj Wrote:  
(02-20-2013 05:06 PM)livisor Wrote:  Making buttons mapping inside emu would make things so much easier,I can't seem to get my ps3 wireless controller work with ppsspp on nexus 7.
That's probably because bluetooth is borked in android 4.1.2 (or 4.2, not sure) and up.

I have the latest 4.2.2 update and my controller works with gba,nes,snes emulators since they have mapping in them.I would like the same for ppsspp in the near future.:-)
I haven't tried with a PS3 sixaxis but with a Wiimote, they stopped working after 4.1.2 I think. Lots of people are complaining about a faulty bluetoot stack.
Find all posts by this user
Quote this message in a reply
02-21-2013, 09:28 AM
Post: #14
RE: [Q] Physical Key support & button setting
(02-20-2013 06:53 AM)thedicemaster Wrote:  xperia play keys are already supported.
to use a USB or Bluetooth controller you can use either gamekeyboard, or a modified keylayout file.

if you are a developer you can also modify the hardcoded controls in the emulator itself.

I use gamekeyboard to simulate xperia play keys, but the cross and square also don't work.
Find all posts by this user
Quote this message in a reply
02-21-2013, 02:56 PM
Post: #15
RE: [Q] Physical Key support & button setting
i can use gamekeyboard to support xperia play touchpad for anolog stick Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: