aa_initkbd(3)

aa_initkbd3

Initialize the aa-lib keyboard driver.

Usage

#include <aalib.h>

int aa_initkbd
(

struct aa_context *context,

const struct aa_kbddriver *drv,

int mode
);

Parameters

struct aa_context *context

Specifies the AA-lib context to operate on.

const struct aa_kbddriver *drv

Driver you wish to use.

int mode

Mask of extra features you request. Can contain AA_SENDRELEASE if you are interested in release events too.

Overview

This is the most primitive AA-lib keyboard initialization function. Allows better control over the process than the easier to use aa_autoinitkbd function.

Returns

1 on success and 0 on fail.

Releases

Unchanged in 13 releases since Debian 3.0 (Woody).

  1. 3.0–Arch

From aalib 1.4rc5-19 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.