Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Update the keys in order to include SmartHub #65

Merged
merged 2 commits into from
Dec 12, 2017
Merged

Conversation

pedrinho
Copy link
Contributor

closes #54

@lervag
Copy link

lervag commented Dec 11, 2017

Nice! I was just thinking of looking at this, and then you already did it. :)

@lervag
Copy link

lervag commented Dec 11, 2017

Although, I would also add this:

diff --git samsungctl/interactive.py samsungctl/interactive.py
index d6c2e21..c882497 100644
--- samsungctl/interactive.py
+++ samsungctl/interactive.py
@@ -10,6 +10,7 @@ _mappings = [
     ["KEY_NPAGE",     "KEY_CHDOWN",        "Page Down", "P Down"],
     ["\n",            "KEY_ENTER",         "Enter",     "Enter"],
     ["KEY_BACKSPACE", "KEY_RETURN",        "Backspace", "Return"],
+    ["h",             "KEY_CONTENTS",      "H",         "Smart Hub"],
     ["l",             "KEY_CH_LIST",       "L",         "Channel List"],
     ["m",             "KEY_MENU",          "M",         "Menu"],
     ["s",             "KEY_SOURCE",        "S",         "Source"],

That is, include the key to the samsungctl/iteractive.py.

@lervag lervag mentioned this pull request Dec 11, 2017
@pedrinho
Copy link
Contributor Author

Agreed. Will update the PR with this code

@Ape Ape merged commit 523c396 into Ape:master Dec 12, 2017
@Ape
Copy link
Owner

Ape commented Dec 12, 2017

Thanks!

@pedrinho pedrinho deleted the patch-1 branch December 12, 2017 10:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Key code for smart hub
3 participants