Only released in EOL distros:  

Package Summary

publishes keyboard key presses

  • Maintainer status: maintained
  • Maintainer: v01d <phreakuencies AT gmail DOT com>
  • Author: v01d <phreakuencies AT gmail DOT com>
  • License: GPLv2
  • Source: git https://github.com/lrse/ros-keyboard.git (branch: 0.1.1)

Package Summary

publishes keyboard key presses

  • Maintainer status: developed
  • Maintainer: v01d <dontwantspam AT spam DOT com>
  • Author: v01d <dontwantspam AT spam DOT com>
  • License: GPLv2

Package Summary

publishes keyboard key presses

  • Maintainer status: developed
  • Maintainer: v01d <phreakuencies AT gmail DOT com>
  • Author: v01d <phreakuencies AT gmail DOT com>
  • License: GPLv2
  • Source: git https://github.com/lrse/ros-keyboard.git (branch: 0.1.1)

Overview

This package allows you to receive keyboard events (key-up, key-down), similar to how the joy node works.

Since it uses SDL to capture keyboard events, a separate window will be opened when the node starts, and this is where all keyboard input will be received. In other words, the node will receive key-presses only when this window is focused.

keyboard

Listens to key-presses and publishes them as messages

Published Topics

keydown (keyboard/Key)
  • key-down events are published in this topic
keyup (keyboard/Key)
  • key-up events are published in this topic

Parameters

~allow_repeat (bool, default: false) ~repeat_delay (int, default: SDL_DEFAULT_REPEAT_DELAY)
  • How long the key must be pressed before it begins repeating.
~repeat_interval (int, default: SDL_DEFAULT_REPEAT_INTERVAL)
  • Key replay speed.

Wiki: keyboard (last edited 2016-02-23 16:23:47 by chataign)