Application Note Using a joystick www.vivotek.
Application Note © 2010 VIVOTEK Inc. All Right Reserved VIVOTEK may make changes to specifications and product descriptions at any time, without notice. The following is trademarks of VIVOTEK Inc., and may be used to identify VIVOTEK products only: VIVOTEK. Other product and company names contained herein may be trademarks of their respective owners.
Application Note Table of contents Introduction .............................................................................................. 4 1. Why use a joystick?............................................................................... 5 2. Setting up a joystick .............................................................................. 6 2.1 Connect the joystick to your computer’s USB port ................................................. 6 2.2 Enable the joystick ...........................
Application Note Introduction This document describes the setup of a joystick for camera control, using VIVOTEK’s HFX 1400 joystick as a specific example where necessary. It is divided into the following three sections: 1. 2. 3.
Application Note 1. Why use a joystick? A joystick can be used to control PTZ cameras or speed domes. Simply connect the joystick to the USB port and it is immediately ready for use. Once properly set up, a joystick can be used to control a camera more intuitively than with a mouse or keyboard. In the second section, joystick settings are described, along with the functions that can be configured.
Application Note 2. Setting up a joystick 2.1 Connect the joystick to your computer’s USB port Figure 2: USB port 2.2 Enable the joystick There are two ways to use a joystick: through firmware, and through software (1) Through firmware: The joystick is ready for use immediately after it is connected to the USB port, but the hotkey buttons will not be functional. On the HFX 1400, to associate the hotkeys with specific actions—such as pan, patrol, and so forth—follow these steps: a.
Application Note Figure 4: Joystick Settings c. In the Buttons configuration window that appears, assign actions to the desired buttons. A list of actions available with the HFX 1400 can be viewed in Figure 5.
Application Note (2) Through software (using the ST7501 as an example): a. Select Configuration > Client Settings > Joystick Settings from the menu bar. When the Joystick Settings window appears, the attached joystick should be listed in the drop-down menu. Figure 7: Selecting Joystick Settings b. Choose the joystick you wish to configure. Select the Enable Joystick checkbox, and then click Configure Buttons to open the Button Configuration window.
Application Note c. For the HFX 1400, the actions shown Figure 9 can be associated with the joystick’s twelve buttons. Figure 9: Button Configuration window Figure 10: Example showing Home being assigned to Button8 Note: The HFX 1400 supports the PZ7111/PZ7121, PZ7112/PZ7122, PZ7131/PZ7132, PZ7151/PZ7152, SD7151, SD7313/SD7323, and SD8111/SD8121, as well as all e-PTZ models. In addition, all future VIVOTEK PTZ and speed domes will support joystick controls.
Application Note 3. VIVOTEK’s HFX 1400 joystick The HFX 1400 is a USB joystick designed to provide the network video monitoring industry with responsive and accurate pan/tilt/zoom camera positioning controls. 3.