Class

PhocKeyboard

Description [src]

final class Phoc.Keyboard : Phoc.InputDevice {
  /* No available fields */
}

A keyboard input device

It tracks keybindings and it’s keymap.

Constructors

phoc_keyboard_new
No description available.

Instance methods

phoc_keyboard_get_meta_key
No description available.

phoc_keyboard_next_layout

Switch to next keyboard in the list of available layouts.

Methods inherited from PhocInputDevice (9)
phoc_input_device_get_device
No description available.

phoc_input_device_get_device_type
No description available.

phoc_input_device_get_is_libinput
No description available.

phoc_input_device_get_is_touchpad
No description available.

phoc_input_device_get_libinput_device_handle
No description available.

phoc_input_device_get_name
No description available.

phoc_input_device_get_product_id

Gets the product id as string. This is often represented by a hex number corresponding to the usb product id.

phoc_input_device_get_seat
No description available.

phoc_input_device_get_vendor_id

Gets the vendor id as string. This is often represented by a hex number corresponding to the usb vendor id.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from PhocInputDevice (2)
Phoc.InputDevice:device

The underlying wlroots device.

Phoc.InputDevice:seat

The seat this device belongs to.

Signals

Phoc.Keyboard::activity

Emitted whenever there is input activity on this device.

Signals inherited from PhocInputDevice (1)
PhocInputDevice::device-destroy

The underlying wlr input device is about to be destroyed.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PhocKeyboardClass {
  PhocInputDeviceClass parent_class;
  
}
No description available.
Class members
parent_class: PhocInputDeviceClass
No description available.