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

Update cursor.py #160

Merged
merged 1 commit into from
Apr 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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")
Loading