mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 11:26:55 +00:00
37_harmony.pm: added media keys
git-svn-id: https://svn.fhem.de/fhem/trunk@6816 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7ac5c7487e
commit
0086efd7d4
@ -331,6 +331,10 @@ harmony_Set($$@)
|
|||||||
$param = "01000081" if( $param eq "systempower" );
|
$param = "01000081" if( $param eq "systempower" );
|
||||||
$param = "01000082" if( $param eq "systemsleep" );
|
$param = "01000082" if( $param eq "systemsleep" );
|
||||||
$param = "01000083" if( $param eq "systemwake" );
|
$param = "01000083" if( $param eq "systemwake" );
|
||||||
|
$param = "0C0000B5" if( $param eq "nexttrack" );
|
||||||
|
$param = "0C0000B6" if( $param eq "previoustrack" );
|
||||||
|
$param = "0C0000B7" if( $param eq "stop" );
|
||||||
|
$param = "0C0000CD" if( $param eq "playpause" );
|
||||||
$param = "0C0000E9" if( $param eq "volumeup" );
|
$param = "0C0000E9" if( $param eq "volumeup" );
|
||||||
$param = "0C0000EA" if( $param eq "volumedown" );
|
$param = "0C0000EA" if( $param eq "volumedown" );
|
||||||
$param = "0C0000E2" if( $param eq "mute" );
|
$param = "0C0000E2" if( $param eq "mute" );
|
||||||
@ -390,7 +394,7 @@ harmony_Set($$@)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$list .= " command getConfig:noArg getCurrentActivity:noArg off:noArg reconnect:noArg sleeptimer sync:noArg text cursor:Up,Down,Left,Right,PageUp,PageDown,Home,End special:VolumeUp,VolumeDown,Mute";
|
$list .= " command getConfig:noArg getCurrentActivity:noArg off:noArg reconnect:noArg sleeptimer sync:noArg text cursor:Up,Down,Left,Right,PageUp,PageDown,Home,End special:PreviousTrack,NextTrack,Stop,PlayPause,VolumeUp,VolumeDown,Mute";
|
||||||
|
|
||||||
return "Unknown argument $cmd, choose one of $list";
|
return "Unknown argument $cmd, choose one of $list";
|
||||||
}
|
}
|
||||||
@ -1325,7 +1329,7 @@ harmony_Attr($$$)
|
|||||||
<li>cursor <direction><br>
|
<li>cursor <direction><br>
|
||||||
moves the cursor by bluetooth/smart keaboard dongle. <direction> can be one of: Up, Down, Left, Right, PageUp, PageDown, Home, End.</li>
|
moves the cursor by bluetooth/smart keaboard dongle. <direction> can be one of: Up, Down, Left, Right, PageUp, PageDown, Home, End.</li>
|
||||||
<li>special <key><br>
|
<li>special <key><br>
|
||||||
sends special key by bluetooth/smart keaboard dongle. <key> can be one of: VolumeUp, VolumeDown, Mute.</li>
|
sends special key by bluetooth/smart keaboard dongle. <key> can be one of: PreviousTrack,NextTrack,Stop,PlayPause, VolumeUp, VolumeDown, Mute.</li>
|
||||||
</ul><br>
|
</ul><br>
|
||||||
|
|
||||||
<a name="harmony_Get"></a>
|
<a name="harmony_Get"></a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user