koying / SPMC

fork of xbmc/kodi
Other
630 stars 257 forks source link

NVidia Shield TV - long press back button not working? #330

Open jdwoods opened 8 years ago

jdwoods commented 8 years ago

On the NVidia Shield TV (mine at least) long pressing the back button on remote or controller does not work. Is this an issue unique to me? Is it a limitation of the device? Is there a work around?

I want to be able to long press the back button and still have video playing when I am searching through SPMC menus.

heymoe commented 8 years ago

Do you have a custom keymap loaded up? I can start a video and click the back button which will stop the video playback and return me to my last menu location or long press the back button and exit back with the video still playing.

jdwoods commented 8 years ago

That's strange. I don't think I have a custom keymap set. I never edited the XML. Hmmm.

ghost commented 8 years ago

heymoe, how did you set that up? Can you please share the XML code?

heymoe commented 8 years ago

I'm not using a custom keymap. All defaults from that point of view. The only thing that might be different is that I'm using the Amazon Fire TV Stick remote instead of the NVidia Shield TV remote.

https://www.amazon.com/Replacement-Remote-Amazon-Fire-Stick/dp/B00LORGAG6/

I have NVidia remote too so I'll try the long press on its back button when I get home to see if it does something different.

jdwoods commented 8 years ago

Please let us know, heymoe.

I, too, would like to see your XML. Maybe I can use yours for my keymap. Thanks!

heymoe commented 8 years ago

I was able to confirm from work that I do not have any xml / keymap files in my SPMC userdata/keymaps directory on my SATV so there is nothing there for me to show / share.

I'll report back the results of using the official NVidia TV remote once I get home in a few hours.

heymoe commented 8 years ago

OK. So when using the NVidia Shield TV remote, a long press on the back button indeed does NOT do anything.

It would seem that the back button on the Fire remote that I mainly use triggers a different remote / keyboard code vs. what the Shield TV remote uses.

I did find this as an alternative keyboard map for basic remotes like the Shield TV remote. I haven't tried it but might be a starting point.

http://kodi.wiki/view/Alternative_keymaps_for_low_button_remotes#Basic_navigation

koying commented 8 years ago

IIRC, last aftv firmware trapped long back. Maybe was it done at the remote level?

Le mar. 21 juin 2016 05:15, heymoe notifications@github.com a écrit :

OK. So when using the NVidia Shield TV remote, a long press on the back button indeed does NOT do anything.

It would seem that the back button on the Fire remote that I mainly use triggers a different remote / keyboard code vs. what the Shield TV remote uses.

I did find this as an alternative keyboard map for basic remotes like the Shield TV remote. I haven't tried it but might be a starting point.

http://kodi.wiki/view/Alternative_keymaps_for_low_button_remotes#Basic_navigation

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/koying/SPMC/issues/330#issuecomment-227329842, or mute the thread https://github.com/notifications/unsubscribe/AAKDhF2m-EPJvKOD0N1v932_SE4i-lGYks5qN1cxgaJpZM4I5BPX .

heymoe commented 8 years ago

Saw this in a different forum.. Untested by me but looks like it would work.

This would go into a keymap file:

<FullscreenVideo>
  <keyboard>
    <backspace>Stop</backspace>
    <backspace mod="longpress">FullScreen</backspace>
  </keyboard>
  <remote>
    <back>Stop</back>
    <back mod="longpress">FullScreen</back>
  </remote>
</FullscreenVideo>

Can also look at other examples here:

https://github.com/xbmc/xbmc/tree/master/system/keymaps