User Tools

Site Tools


keyboard_events

Keyboard Events

Connected keyboards can also fire an event. The keyboard can, but doesn't have to be, a standard PC keyboard. Infrared or RF remote controls, using an USB token and register as HID device keyboard, can also be used as input device. From the operating systems point of view, those remote controls are standard keyboards as well. This works with all supported operating systems (Windows, Mac OS X and Linux).

Keyboard events in conjunction with one of the described remote controls are very useful to control devices, connected via RS232, Ethernet, DMX etc. with an Infrared or RF remote control.

To add a keyboard event chose Events → Keyboard in the main menu.

A new keyboard event is added in three steps:

  1. Click in the field Keys: to have the input focus set to the field. Now press the key you want to fire an event. If the key is a printable ASCII key (abc… 123… +-*/…) then the key appears in the input field. If the key is a non printable key (F1 F2 F3… SPACE ESC ENTER…) then the name of the key appears. It is possible to fire an event on a sequence of keys, for example 235. In this case, the event is fired if the three keys are pressed in a sequence. If a sequence of keys is entered, the keys are separated by a space. ATTENTION: If V-Control receives a key or key sequence that has no event assigned to, then the keys are stored in a queue. This is because maybe later a key will be received, that has, together with the keys in the queue, an event assigned. If an invalid key is received, then the queue will never be empty, and all following keys are stored in the queue. To flush the queue you can send an ENTER key.
  2. Enter the event name.
  3. Add the event to the list.

After that, a task has to be assigned to the event (see Calendar Events / Device Events).

To enable the keyboard events mark the checkbox Enable Keyboard Events.

keyboard_events.txt · Last modified: 2013/08/15 21:22 by admin