1. A method, comprising: receiving, by a computer, a sequence of three-dimensional maps containing at least a hand of a user of the computer; identifying, in the maps, a device coupled to the computer; analyzing the maps to detect a gesture performed by the user toward the device; and actuating the device responsively to the gesture.