Skip to content

Commit

Permalink
Merge pull request #160 from Itay-Sharoni/patch-1
Browse files Browse the repository at this point in the history
Update cursor.py
  • Loading branch information
klattimer authored Apr 21, 2024
2 parents c95bcc3 + cdc78ad commit f7fba20
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions LGTV/cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,45 @@ def home(self):

def exit(self):
self.send("type:button\nname:EXIT\n\n")

def red(self):
self.send("type:button\nname:RED\n\n")

def green(self):
self.send("type:button\nname:GREEN\n\n")

def yellow(self):
self.send("type:button\nname:YELLOW\n\n")

def blue(self):
self.send("type:button\nname:BLUE\n\n")

def channel_up(self):
self.send("type:button\nname:CHANNELUP\n\n")

def channel_down(self):
self.send("type:button\nname:CHANNELDOWN\n\n")

def volume_up(self):
self.send("type:button\nname:VOLUMEUP\n\n")

def volume_down(self):
self.send("type:button\nname:VOLUMEDOWN\n\n")

def play(self):
self.send("type:button\nname:PLAY\n\n")

def pause(self):
self.send("type:button\nname:PAUSE\n\n")

def stop(self):
self.send("type:button\nname:STOP\n\n")

def rewind(self):
self.send("type:button\nname:REWIND\n\n")

def fast_forward(self):
self.send("type:button\nname:FASTFORWARD\n\n")

def asterisk(self):
self.send("type:button\nname:ASTERISK\n\n")

0 comments on commit f7fba20

Please sign in to comment.