Front Panel Button Emulation - Zektor CVS4 User Manual

High definition component video switch
Hide thumbs Also See for CVS4:
Table of Contents

Advertisement

CVS4 Command Reference (Cont'd)
The value 'ircmd' refers to the IR commands that the CVS4 is able to learn, they are:
IR Cmd Description
1
Power Toggle
2
Select Input 1
3
Select Input 2
4
Select Input 3
5
Select Input 4
6
Discrete Power On
7
Discrete Power Off
Setting an 'ircmd' to 'ircode = 0', causes that command to no longer respond to IR.

Front Panel Button Emulation

This command allows access to the internal keyboard handling of the CVS4, and is very hard-
ware dependent. Button values returned by the CVS4 may and most likely will be different than
button values returned by other Zektor devices.
Each button generates a value upon being pressed, and a different value upon release.
The Power toggle button also generates a unique value when held for 4 seconds, which is used
to enter the setup mode. Other combinations may also generate unique codes.
This command allows the controller to detect front panel button presses even when the front
panel is disabled. This allows the controller very tight control over the CVS4. By disabling the
front panel (setting the FP bit to '0' in the "Control Settings" command), and by then processing
the front panel button presses of the CVS4, a controller can redefine the operations of the CVS4.
When used in combination with the "Read Last IR Code" command, even IR commands can be
handled by the controller, outside the CVS4's firmware.
Because of the tight link between this command and the CVS4's firmware, there are some
caveats when using this command. The Zektor firmware expects a button press code to always
be followed by a button release code. Sending these codes out of logical order will not harm the
CVS4, but may result in unpredictable behavior (buttons codes ignored, or unexpected state
changes).
B b1,bn...
B ?
B
Response String:
=B b1,bn...
Send one or more button codes to the CVS4.
Query for any buffered button presses.
Query for any buffered button presses.
CVS4 Component Video Switch
1

Advertisement

Table of Contents
loading

Table of Contents