Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Any programmable pcbs for Android???  (Read 2459 times)

0 Members and 1 Guest are viewing this topic.

agienne

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:October 25, 2015, 06:17:23 am
  • I want to build my own arcade controls!
Any programmable pcbs for Android???
« on: October 24, 2015, 06:35:53 pm »
  Hello all.  I'm wanting to build a gamepad that's 100% compatible to my Nvidia Shield (Android TV) and was wondering if either the I-Pac or KADE were able to be programmed for some of the advanced key sends.  I want the Android Back and Home to be pushbuttons. 

I've done some research, and if the hardware device connected doesn't have a matching vendor id, it will default to a generic key layout.  looking at this file Generic.kl (http://pastebin.com/t0vmgea2)  I'd love to be able to match the gamepad to some of these upper numbered keysends.

Key 158 back
key 102   MOVE_HOME
key 304   BUTTON_A
key 305   BUTTON_B
key 306   BUTTON_C
key 307   BUTTON_X
key 308   BUTTON_Y
key 309   BUTTON_Z
key 310   BUTTON_L1
key 311   BUTTON_R1
key 312   BUTTON_L2
key 313   BUTTON_R2
key 314   BUTTON_SELECT
key 315   BUTTON_START
key 316   BUTTON_MODE
key 317   BUTTON_THUMBL
key 318   BUTTON_THUMBR

      I should add, that I don't want to root my Shield and make a key layout file.  I hope I don't have to rip apart a controller and solder. but if I must, I must! 
Any help is appreciated, and it's quite possible that I have no idea what I'm talking about.  Thanks

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 9687
  • Last login:Today at 06:28:56 pm
  • Designated spam hunter
Re: Any programmable pcbs for Android???
« Reply #1 on: October 24, 2015, 08:28:38 pm »
  Hello all.  I'm wanting to build a gamepad that's 100% compatible to my Nvidia Shield (Android TV) and was wondering if either the I-Pac or KADE were able to be programmed for some of the advanced key sends.  I want the Android Back and Home to be pushbuttons. 
Welcome aboard, Agienne.   ;D

Just to clarify what you are trying to do/build:

  1. Do you want to use arcade-style joysticks and buttons or a handheld gamepad?

  2. Are you looking for a gamepad-style firmware, a keyboard-style firmware, or a composite-device firmware that combines both?  (Keyboard-style would probably be the easiest.)

Android Back and Home buttons sound like they might be good keypresses to add to the KADE options.

Degenatrons has made some requested KADE firmwares with custom keypresses and he also modded Android MK808 and MK908 TV Sticks for a project here, you may want to drop him a PM.

If you're considering "rolling your own" by editing the keycodes, look at the KADE miniArcade source code here.

"KADE/open software/firmwares/KADE miniArcade/sources/kade-mame-2p/mappings.c" looks like it would be relatively easy to edit the keycodes then compile your own custom firmware, but I've never tried it.   :dunno


Scott

agienne

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:October 25, 2015, 06:17:23 am
  • I want to build my own arcade controls!
Re: Any programmable pcbs for Android???
« Reply #2 on: October 24, 2015, 09:57:50 pm »
    I'd like to make an arcade-style joystick setup that will control all of the Android functions.  Whatever kind of firmware gets me there will do!  I'm not worried about being able to switch it to a PC or Xbox, it's sole purpose will be for the Nvidia Shield. .. and the only way I'm going to get one to live in our living room is if one looks great, does everything, and is intuitive.

   I have an iCade that I rewired with the cheap Zero Delay ebay pcb. The Joystick works with the system, but all the buttons seem to work as "Enter".  I've just been looking for a way hook up a fully functional one without rooting the system.

  The Kade keymaps look VERY editable.  Fantastic!  I won't know what I'm doing, but I'll buy one and try messing around. 

Thanks for your help!
Andrew

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 9687
  • Last login:Today at 06:28:56 pm
  • Designated spam hunter
Re: Any programmable pcbs for Android???
« Reply #3 on: October 24, 2015, 10:44:10 pm »
I have an iCade that I rewired with the cheap Zero Delay ebay pcb. The Joystick works with the system, but all the buttons seem to work as "Enter".  I've just been looking for a way hook up a fully functional one without rooting the system.
Enable Beta Updates (Advanced - Beta Version - Receive Beta Updates) in KADE Loader for the iCade (Beta) firmware.   ;D

Related thread here.

There are several iCade threads on the KADE Forums, too.


Scott

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: Any programmable pcbs for Android???
« Reply #4 on: October 26, 2015, 11:10:03 am »
We have special firmware for the U-HID board which exactly emulates the controls on an Nvidia Shield. This firmware was developed for Nvidia so I know it works.

Also the forthcoming Bluetooth version of this board uses the same data format.

andy@ultimarc.com