InputDevice

Input device base class, may be used to conveniently implement an IInputDevice.

abstract
class InputDevice : IInputDevice {}

Members

Functions

read
ssize_t read(void[] dst)

Attempts to read dst.length bytes, see IInputDevice.read() documentation.

Inherited Members

From IInputDevice

ssize_t
alias ssize_t = .ssize_t

Convenience type alias for subclasses/interfaces

read
ssize_t read(void[] dst)

read() attempts to read up to dst.length bytes from the device associated with the file descriptor of this instance into dst.

Meta