Jump to content
Flirc Forums
stage

Adding support for Nvidia Shield TV

Recommended Posts

Mapping the Fire TV Home button didn't do anything.

The Return key on the Remote is akin to Backspace on the Keyboard.

I was using an Apple wired Keyboard for my tests.

 

To mimic the Shield Remote to Keyboard

Up, Down, Left & Right  =  directional keys.

Okay/Enter = Enter (Not Enter/Return)

Return = Backspace

Home = Start + Enter together

Speech = Start on nitewulf's Keyboard & Command on Apple Keyboard.

Volume Slider = Volume Controls

 

However, most don't want to mimic the Remote, they want the Controller as it has extra inputs.

I will have to load a game to see what can be achieved.

 

 

 

 

Edited by SomethingSomethingDarkSide
Forgot something.

Share this post


Link to post
Share on other sites

Adding support for this effort.  Thank you.  Just bought a Shield TV and want to use Kodi.  Didn't take long to notice the remote profile challenges.  Have a Flirc on order so look forward to your work.  Thank you. 

Share this post


Link to post
Share on other sites

Just completing the info provided by nitewulf and SometingSomethingDarkSide.

BACK | ESC <- it was said to be Backspace but it is ESC

 

I am trying to map the Search key. 

However as already stated by nitewulf there are 2 differet behaviours:

- Global Voice Search: WIN. I can program this, but I don't want this one.

- In App Voice Search: Search (on his Logitech K400r).

This Search button I guess it corresponds with the Virtual Key for Browse Search. 

 

Altough I have been reading the forums and discover that I can chose some codes from the page 12 by using the flirc_util.exe record_api DEC_CODE 102, I cannot figure out which code I should enter here. 

 

I tried with KeyEvent Display application in nVidia, and I can see that the "shield" button or "voice search" corresponds to the code 84 (AKEYCODE_SEARCH) 

https://developer.android.com/ndk/reference/keycodes_8h.html that corresponds with the Search function on nitewulf's keyboard.

 

 

But I cannot find out how to map this key in flirc. Are Virtual KeyCodes (https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx) allowed to be programmed in flirc? If so, how do they fit in the table?

http://www.freebsddiary.org/APC/usb_hid_usages.php

 

 

Edited by fgarcor

Share this post


Link to post
Share on other sites

I've been able to get everything working with Harmony/FLIRC and Nvidia Sheild (same Harmony/FLIRC programming also works exactly the same way for my Nexus Player)

I use both Harmony 650 and 880 models, and both work, including back (escape) and home buttons.

Harmony Setup (From Harmony software)

  1. Tell the Harmony software that it's controlling a ViewTV AT-163 device.  This will provide ample keys to map with Flirc.
  2. Optionally, map info to the Guide button, map exit to the previous channel button, direction up to up and direction down to down.  These are redundant, you will not need to do this to have these functions mapped. 
  3. Sync the remote. 

FLIRC Setup:

  1. Clear configuration
  2. Select the Fire TV remote setup.
  3. select Go
  4. Follow prompts to map buttons, using Menu for Home and Info for Menu.
  5. OPTIONAL: Keeping FLIRC plugged in for additional programming, select the Kodi controller.
  6. Map all the number buttons (not necessary or particularly useful)
  7. Map stop, pause, skip ahead and skip back buttons like for like (not necessary but more useful)

This works great on both my AndroidTV setups (Shield and Nexus Player), with the usual caveat being that the Home button works the same way it does with the stock controllers; Home from within Kodi goes directly to Home on AndroidTV.  This is what I prefer anyway.

I hope this is useful to someone.

 

my_flirc_config.fcfg

Edited by dsbell
Add FLIRC config file

Share this post


Link to post
Share on other sites

I've been able to get everything working with Harmony/FLIRC and Nvidia Sheild (same Harmony/FLIRC programming also works exactly the same way for my Nexus Player)

I use both Harmony 650 and 880 models, and both work, including back (escape) and home buttons.

Harmony Setup (From Harmony software)

  1. Tell the Harmony software that it's controlling a ViewTV AT-163 device.  This will provide ample keys to map with Flirc.
  2. Optionally, map info to the Guide button, map exit to the previous channel button, direction up to up and direction down to down.  These are redundant, you will not need to do this to have these functions mapped. 
  3. Sync the remote. 

FLIRC Setup:

  1. Clear configuration
  2. Select the Fire TV remote setup.
  3. select Go
  4. Follow prompts to map buttons, using Menu for Home and Info for Menu.
  5. OPTIONAL: Keeping FLIRC plugged in for additional programming, select the Kodi controller.
  6. Map all the number buttons (not necessary or particularly useful)
  7. Map stop, pause, skip ahead and skip back buttons like for like (not necessary but more useful)

This works great on both my AndroidTV setups (Shield and Nexus Player), with the usual caveat being that the Home button works the same way it does with the stock controllers; Home from within Kodi goes directly to Home on AndroidTV.  This is what I prefer anyway.

I hope this is useful to someone.

 

my_flirc_config.fcfg

Hi.  Thanks for this.  Does this also sleep / wake the Shield?

 

Share this post


Link to post
Share on other sites

I forgot about this thread before buying the Flirc.  I guess development in general has been pretty much abandoned since we never saw an official profile for Shield?  I'll see what I can do with what has been posted, though

Share this post


Link to post
Share on other sites

I forgot about this thread before buying the Flirc.  I guess development in general has been pretty much abandoned since we never saw an official profile for Shield?  I'll see what I can do with what has been posted, though

Definitely not. I work at NVIDIA full time. I work on the super computing products though. My buddies in shield gave me a unit to get Flirc support on it but I haven't had time to polish it off. 

But that's all going to change. Next Friday is my last day at NVIDIA. I will be working on Flirc full time. Expect a lot more activity soon. This will be one of the main things I do, better Logitech integration and many more profiles.

Also traveling to china to watch over the build of the next product. 

Excited and Terrified. 

Share this post


Link to post
Share on other sites

Just found this thread. So I got "back" to work via "ESC" keyboard emulation, thank you!

However, "select/enter" is just broken outside of of Kodi. 

Tried: "flirc_util.exe record_api 0 88", and a couple other enter options I could find, but nothing works. I can select things in Android but I cannot use the button for play/pause in any of the streaming apps beside Netflix. Yet the slim remote button or game pad "A" button does work.

Is there currently no work around to emulate the actual Shield game pad "A" button (or the button on the slim remote)? Is this just something that needs a firmware update as the only fix?

I also have another Android issue, I would really like to have a "menu" button. I know this is not implemented on Android TV but I am currently running a bunch of sideloaded apps made for phones on my Shield. When I say "menu" button I mean a button that will bring up the 3 dot menu in apps that do not use the 3 dots (or the 3 line hamburger button).

Thanks!

Edited by h20

Share this post


Link to post
Share on other sites

Hi there - any updates on this?

I'm trying to use a NowTV remote (basically a basic Roku IR remote) and I can't get volume adjustments to work... any ideas? Which flirc profile should I use as the basis for this config? Thanks!

Share this post


Link to post
Share on other sites

So the NVIDIA shield has just a set amount of buttons. See attached.


If I just have the following, It sounds like I'm going to be missing a lot of functionality. So I'll need a bit of help from you guys. What other keys are you looking for?

 

shield.png

Share this post


Link to post
Share on other sites

Hey @jason!

The nVidia Shield TV actually has 2 official control methods.  One is the simple "remote" style you've posted here and the other is a more complex "game controller" style that has many more buttons.  The game controller comes in the box when you buy a shield so it's fully supported by nVidia.

As you've noticed, the remote is super basic and is missing what most people would consider to be standard media functionality like play/pause, rewind, fast forward, etc.  This is why FLIRC is so important to us sheid users, we need to make up for nVidias well-intentioned but flawed minimalist approach!

The biggest thing to me that currently can't be done by FLIRC is volume control.  Both the shield remote and shield controller have volume control on them that I'd love to be able to map to my media remote (I'm using the Xbox One Media Remote).  Also, the directional  buttons setting seem to work for media apps like Kodi and Youtube, but they don't work for some other apps and games.

This is the other controller that I hope you can pull some functionality from:

8077023_sd.jpg;maxHeight=1000;maxWidth=1

Here's a few links I've found that may be helpful if you haven't seem them already:

https://developer.android.com/training/game-controllers/controller-input.html

http://forum.xda-developers.com/shield-tv/help/please-post-favorite-controller-maps-t3402715

I've got a shield and both the remote and the controller, so please let me know what you need and I'd be glad to help!

 

Edited by interr0bangr

Share this post


Link to post
Share on other sites

First, thanks for picking this up Jason! Just to add on to interr0bangr's post, the minimum would be the A, B, Y buttons on the controller. The A button works just like the center button on the slim remote and is, obviously, the most important button that needs to be supported. The B button does back in a couple games and apps where the arrow key from the slim remote just exits the app. The Y button is a menu key that is unique to the controller, an example wold be the NBC News and streaming app.The X button doesn't seem to have an important function non-game function but I am still pretty new to the Shield and AndroidTV. 

Then, for me, the right analog stick is important as it controls the mouse movement in non-AndroidTV apps.I would add that the right center button on the controller, the one in the sliver area that looks like a right arrow with a line on the left, seems to work as a dedicated play/pause button which the platform really needs. An example would be the Youtube app where pressing the A button (or slim remote center button) brings up the OSD menu where you have to navigate to the button you want to press and then press it. That dedicated play/pause button is one touch play and pause.

 

Edited by h20

Share this post


Link to post
Share on other sites

Ah, great point, let me have my artist do a rendition of the controller.

Those links really help, but I'll need a bit more.

Using the two images at the top of the post here: http://forum.xda-developers.com/shield-tv/help/please-post-favorite-controller-maps-t3402715

I'll need to figure out which buttons go with their corresponding keyboard keys. (Don't worry about the joystick for now).

For example:

keyboard hat up: Keyboard arrow up

Keyboard hat down: Keyboard arrow down

etc. The easiest way to do this is hook a keyboard up to the shield and figure it out with that. I'll reach out to my friend on the shield team to see if he can just give me the hid codes.

Share this post


Link to post
Share on other sites

Also, do the "pronto hex" codes in this link help?

http://www.avsforum.com/forum/93-remote-control-area/2126570-discrete-ir-code-list-nvidia-shield-tv.html

Last
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Exit
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Ok
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Power
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Stop
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Pause
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Menu
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Rewind
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Left
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Ch+
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Up
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Right
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Ch-
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Down
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Fast_Fwd
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Play
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Vol+
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Mute
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Vol-
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

1
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

2
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

3
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

4
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

5
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

6
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

7
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

8
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

9
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

0
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Shield
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

A
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

B
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

X
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Y
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

LeftTrigger
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

RightTrigger
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

LeftBumper
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

RightBumper
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C

Language
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0622 015B 0057 0016 0E6C

PowerOff
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0622 015B 0057 0016 0E6C

PowerOn
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0622 015B 0057 0016 0E6C

Edited by interr0bangr

Share this post


Link to post
Share on other sites

Here's some codes direct from Nvidia that the pronto codes were converted from.

I have no idea if these are useful or not either.

Vol up 0x807e12
Vol down 0x807e15
Up 0x807e0c
Down 0x807e0e
Left 0x807e0b
Right 0x807e0d
Select (OK) 0x807e03
Back 0x807e02
Home 0x807e09
Power 0x807e06
Mute 0x807e14
Play/Pause 0x807e20
Play 0x807e11
Pause 0x807e08
Stop 0x807e07
FWD 0x807e0f
RWD 0x807e0a
Sleep 0x807e41
Wakeup 0x807e45

Share this post


Link to post
Share on other sites

HID stands for Human Interface (or sometimes Input) Device. It's a family of different USB devices meant for interaction between humans and computers. In case of Flirc it acts as a HID keyboard and HID codes in this case mean hardware identifier each key on a physical keyboard has assigned (it doesn't depend on the character/symbol on the key but rather the physical position of the key on the keyboard, e.g. second row, third key from left).

HID codes are grouped into tables. Each table has its own identifier and purpose. There're tables for standard keyboard keys, for multimedia keys, for joysticks, for mice, etc.

With current Flirc hardware (Flirc USB and Flirc SE) with current firmware you can only use codes that can be sent from the keyboard device. If I understand it correctly this includes only keyboard and multimedia tables and this is what Flirc uses. To use other tables Flirc would need to emulate another HID class (e.g. to use joystick table it would need to also present itself as a HID joystick device in addition to a keyboard one). Jason, if I'm wrong about that don't hesitate to correct this info :).

Share this post


Link to post
Share on other sites

So I can get everything working pretty much except for the Select/OK/A button for certain apps/games (Crossy Road, for example), which sucks because it's the most used button of all.

Edited by interr0bangr
Updated mapping below...

Share this post


Link to post
Share on other sites

So I can get everything working pretty much except for the Select/OK/A button for certain apps/games (Crossy Road, for example), which sucks because it's the most used button of all.

 

 

Shield ControllerShield RemotePC Keyboard
D-Pad UpDirection UpArrow Key Up
D-Pad DownDirection DownArrow Key Down
D-Pad LeftDirection LeftArrow Key Left
D-Pad RightDirection RightArrow Key Right
A / GreenSelect / OKEnter/Return (in most cases), Does not work in all apps.
B / RedBackESC
X / Blue--
Y / Yellow--
HomeHomeWindows Key + Enter/Return
BackBackESC
NVIDIAVoice Search?
Volume UpVolume UpVolume Up
Volume DownVolume DownVolume Down
--Volume Mute (Media Key)
Left Trigger--
Right Trigger--
Left Bumper-Rewind (Media Key)
Right Bumper-Fast Forward (Media Key)
Start / Pause-Play / Pause (Media Key)
--Stop (Media Key)
--Next Track (Media Key)
--Next Track (Media Key)

 

This is great work and exactly what. Needed. Thank you. This is still on the map, but at the end of this month. Great job, and when I release my new product in the next two weeks, send me a message, you're getting on the house as a thank you.

I can eventually help that one key, which is return. It could be joystick select or something. If anyone else figures it out, they'll get the same gratitude and thank you gift from me.


Again, sorry I haven't been able to help with this. It will be evident why shortly.

Share this post


Link to post
Share on other sites

This is great work and exactly what. Needed. Thank you. This is still on the map, but at the end of this month. Great job, and when I release my new product in the next two weeks, send me a message, you're getting on the house as a thank you.
I can eventually help that one key, which is return. It could be joystick select or something. If anyone else figures it out, they'll get the same gratitude and thank you gift from me.


Again, sorry I haven't been able to help with this. It will be evident why shortly.

Yay, thanks!

Would it also help at all to have the android KeyEvent codes?  I tried pulling those and found that some are the same across all controllers/keyboards (like the arrow keys) and some have different codes (like back/esc for example) even though they achieve the same action.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×