Namespace

Mks – 1

Mouse, Keyboard, and Screen to QEMU

Version1.0.alpha
AuthorsChristian Hergert
LicenseLGPL-2.1-or-later
Websitehttps://gitlab.gnome.org/GNOME/libmks
Sourcehttps://gitlab.gnome.org/GNOME/libmks

Build

C headerslibmks.h
pkg-config fileslibmks-1

Dependencies

GLib—2.0 The base type system library
Browse documentation
GObject—2.0 The base type system library
Browse documentation
Gio—2.0 GObject Interfaces and Objects, Networking, IPC, and I/O
Browse documentation
Dex—1 Future-based programming for GNOME
Browse documentation
Gdk—4.0 The GTK windowing system abstraction
Browse documentation
Gtk—4.0 The GTK toolkit
Browse documentation
Vte—3.91 Virtual terminal widget for GTK
Browse documentation

Additional documentation

Classes

Chardev

Clipboard

ClipboardRedirector

DBusTransport

Device

An abstraction of a virtualized device.

Display

Keyboard

Microphone

Mouse

Screen

Session

Session connected to a transport.

Speaker

Touchable

Transport

A connection transport for a session.

Structs

Enumerations

ClipboardOwner

ClipboardSelection

MouseButton

A mouse button.

ScreenKind

A screen kind.

TouchEventKind

The type of a touch event.

Bitfields

ClipboardRedirectorSelections

KeyboardModifier

The active keyboard modifiers.

Callbacks

Functions

get_major_version

The major version the library.

get_micro_version

The micro version the library.

get_minor_version

The minor version the library.

init

Initializes the library.

Function Macros

CHECK_VERSION

Compile-time version checking. Evaluates to TRUE if the version of mks is greater than the required one.

DECLARE_INTERNAL_TYPE

DEPRECATED_FOR

DEPRECATED_IN_1_0_FOR

DEVICE_CONST

ENCODE_VERSION

UNAVAILABLE

Constants

MAJOR_VERSION

Mks major version component (e.g. 1 if MKS_VERSION is 1.2.3).

MICRO_VERSION

Mks micro version component (e.g. 3 if MKS_VERSION is 1.2.3).

MINOR_VERSION

Mks minor version component (e.g. 2 if MKS_VERSION is 1.2.3).

VERSION_S

Mks version, encoded as a string, useful for printing and concatenation.