Skip to content

Class pinnacle.input.libinput

Libinput device management.

Functions

function get_devices

function pinnacle.input.libinput.get_devices()
    -> pinnacle.input.libinput.DeviceHandle[]

Gets all connected input devices.

Returns

  1. pinnacle.input.libinput.DeviceHandle[]

function for_each_device

function pinnacle.input.libinput.for_each_device(for_each: fun(device: pinnacle.input.libinput.DeviceHandle))

Runs a function for every currently connected device as well as all devices that will be connected in the future.

Parameters

for_each: fun(device: pinnacle.input.libinput.DeviceHandle)

Last updated: