Class
PhocKeyboard
Description [src]
final class Phoc.Keyboard : Phoc.InputDevice
{
/* No available fields */
}
A keyboard input device
It’s responsible for forwarding keys press and modifier changes to the seat, it tracks keybindings and the keymap.
Instance methods
phoc_keyboard_grab_meta_press
If the meta key is currently the only pressed modifier grab it (hence canceling the meta key press/release sequence) making it available to other gestures (like left-click + meta).
Methods inherited from PhocInputDevice (10)
phoc_input_device_get_device
No description available.
phoc_input_device_get_device_type
No description available.
phoc_input_device_get_is_keyboard
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.
Properties
Properties inherited from PhocInputDevice (2)
Phoc.InputDevice:device
The underlying wlroots device.
Phoc.InputDevice:seat
The seat this device belongs to.
Signals
Signals inherited from PhocInputDevice (1)
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.