Documentation Status

Cannot load information on name: keyboard, distro: electric, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: keyboard, distro: fuerte, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: keyboard, distro: groovy, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.

Package Summary

Released Continuous integration Documented

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

Released Continuous integration No API documentation

publishes keyboard key presses

  • Maintainer status: developed
  • Maintainer: v01d <dontwantspam AT spam DOT com>
  • Author: v01d <dontwantspam AT spam DOT com>
  • License: GPLv2
Cannot load information on name: keyboard, distro: kinetic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: keyboard, distro: lunar, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: keyboard, distro: melodic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.

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)