Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touchpad key return doesnt use custom keys #20

Open
2 tasks done
jtfowler22 opened this issue Aug 8, 2022 · 1 comment
Open
2 tasks done

Touchpad key return doesnt use custom keys #20

jtfowler22 opened this issue Aug 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jtfowler22
Copy link

jtfowler22 commented Aug 8, 2022

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
v0.5.2

Android

Using custom keys I changed the "up,down,left,right,enter" to work with my tv. (im using the remote.send_command). Works GREAT! Was able to redefine all the buttons i wanted and it works for my sony bravia.... EXCEPT FOR the touchpad.

I was looking at the tv-card.js file and it looks like once the code determines where I went on the touchpad (for example if i go left) it just sends the KEY for "left". But I get an error saying media / media_player isnt available on my device. Is the touchpad code routing the keys through a different function and not using custom_keys like the rest of the buttons?

@jtfowler22 jtfowler22 added the bug Something isn't working label Aug 8, 2022
@Rocologo
Copy link

Rocologo commented Sep 10, 2022

I have the same problem. It does not work for the navigation_row and either not for volume_row. The slider does unfortunately not work with my old Samsung TV.

type: custom:tv-card
entity: media_player.samsung_tv
title: Samsung TV
power_row:
  - tv_power
channel_row:
  - tv_sound_down
  - tv_sound_up
  - tv_sound_mute
apps_row:
  - tv_hdmi1
  - tv_hdmi3
  - tv_navigation_smart
source_row:
  - return
  - home
  - tv_navigation_left
  - tv_navigation_right
  - tv_navigation_ok
  - tv_navigation_up
  - tv_navigation_down
  - tv_navigation_return
  - tv_navigation_exit
media_control_row:
  - tv_player_back
  - tv_player_play
  - tv_player_pause
  - tv_player_forward
custom_keys:
  tv_power_on:
    icon: mdi:power-on
    service: script.tv_power_on
  tv_power_off:
    icon: mdi:power-off
    service: script.tv_power_off
  tv_power:
    icon: mdi:power
    service: script.tv_power_toggle
  tv_sound_up:
    icon: mdi:volume-plus
    service: script.tv_sound_up
  tv_sound_down:
    icon: mdi:volume-minus
    service: script.tv_sound_down
  tv_sound_mute:
    icon: mdi:volume-mute
    service: script.tv_sound_mute
  tv_hdmi1:
    icon: mdi:cast
    service: script.tv_hdmi1
  tv_hdmi3:
    icon: mdi:kodi
    service: script.tv_hdmi3
  tv_player_play:
    icon: mdi:play
    service: script.tv_player
  tv_player_pause:
    icon: mdi:pause
    service: script.tv_player_pause
  tv_player_back:
    icon: mdi:rewind
    service: script.tv_player_back
  tv_player_forward:
    icon: mdi:fast-forward
    service: script.tv_player_forward
  tv_navigation_ok:
    icon: mdi:checkbox-blank-circle
    service: script.tv_navigation_ok
  tv_navigation_up:
    icon: mdi:chevron-up
    service: script.tv_navigation_up
  tv_navigation_down:
    icon: mdi:chevron-down
    service: script.tv_navigation_down
  tv_navigation_left:
    icon: mdi:chevron-left
    service: script.tv_navigation_left
  tv_navigation_right:
    icon: mdi:chevron-right
    service: script.tv_navigation_right
  tv_navigation_smart:
    icon: mdi:application
    service: script.tv_navigation_right
  tv_navigation_return:
    icon: mdi:keyboard-return
    service: script.tv_navigation_return
  tv_navigation_exit:
    icon: mdi:exit-run
    service: script.tv_navigation_exit

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants