Skip to content

Commit

Permalink
Update cursor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Itay-Sharoni authored Apr 20, 2024
1 parent c95bcc3 commit cdc78ad
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 cdc78ad

Please sign in to comment.