write

command
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2013 License: BSD-1-Clause Imports: 6 Imported by: 0

README

Write

This program demonstrates how to write to an evdev device. It loads up a keyboard and toggles the LED states on it:

  • Turn on CAPS_LOCK for 200 ms then off again.
  • Turn on NUM_LOCK for 200 ms then off again.
  • Turn on SCROLL_LOCK for 200 ms then off again.
  • Repeat from the top.

Usage

$ go build
$ ./write /dev/input/event0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL