Skip to content

Commit

Permalink
Merge pull request #29 from GalanAlex/issue28
Browse files Browse the repository at this point in the history
Fix play/pause button
  • Loading branch information
louis49 committed Jun 20, 2022
2 parents 903a908 + 0914e47 commit 5d06b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/homebridge/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AndroidTV {
this.keys[this.api.hap.Characteristic.RemoteKey.SELECT] = RemoteKeyCode.KEYCODE_DPAD_CENTER;
this.keys[this.api.hap.Characteristic.RemoteKey.BACK] = RemoteKeyCode.KEYCODE_BACK;
this.keys[this.api.hap.Characteristic.RemoteKey.EXIT] = RemoteKeyCode.KEYCODE_HOME;
this.keys[this.api.hap.Characteristic.RemoteKey.PLAY_PAUSE] = RemoteKeyCode.KEYCODE_MEDIA_PLAY;
this.keys[this.api.hap.Characteristic.RemoteKey.PLAY_PAUSE] = RemoteKeyCode.KEYCODE_MEDIA_PLAY_PAUSE;
this.keys[this.api.hap.Characteristic.RemoteKey.INFORMATION] = RemoteKeyCode.KEYCODE_INFO;

this.channelskeys = {};
Expand Down

0 comments on commit 5d06b3f

Please sign in to comment.