Skip to content

Commit f7fba20

Browse files
authored
Merge pull request #160 from Itay-Sharoni/patch-1
Update cursor.py
2 parents c95bcc3 + cdc78ad commit f7fba20

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

LGTV/cursor.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,45 @@ def home(self):
7979

8080
def exit(self):
8181
self.send("type:button\nname:EXIT\n\n")
82+
83+
def red(self):
84+
self.send("type:button\nname:RED\n\n")
85+
86+
def green(self):
87+
self.send("type:button\nname:GREEN\n\n")
88+
89+
def yellow(self):
90+
self.send("type:button\nname:YELLOW\n\n")
91+
92+
def blue(self):
93+
self.send("type:button\nname:BLUE\n\n")
94+
95+
def channel_up(self):
96+
self.send("type:button\nname:CHANNELUP\n\n")
97+
98+
def channel_down(self):
99+
self.send("type:button\nname:CHANNELDOWN\n\n")
100+
101+
def volume_up(self):
102+
self.send("type:button\nname:VOLUMEUP\n\n")
103+
104+
def volume_down(self):
105+
self.send("type:button\nname:VOLUMEDOWN\n\n")
106+
107+
def play(self):
108+
self.send("type:button\nname:PLAY\n\n")
109+
110+
def pause(self):
111+
self.send("type:button\nname:PAUSE\n\n")
112+
113+
def stop(self):
114+
self.send("type:button\nname:STOP\n\n")
115+
116+
def rewind(self):
117+
self.send("type:button\nname:REWIND\n\n")
118+
119+
def fast_forward(self):
120+
self.send("type:button\nname:FASTFORWARD\n\n")
121+
122+
def asterisk(self):
123+
self.send("type:button\nname:ASTERISK\n\n")

0 commit comments

Comments
 (0)