package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a182e6d368a65e6752771e41e651713f
sha512=020d2c7f9f4e06966ca56695e24eb0b41dd12500aa65d2cd9b56e03068bbb6ea7770de0a33c04f0d054bd474bee8c2b36bb46af86266c9823490e1bd0810c027
doc/oxbow.state/Oxbow_state/Input_device/index.html
Module Oxbow_state.Input_deviceSource
include module type of Types.Input_device
type t = {obj : Wire.Obj.Input.Management.Device.t;name : string;role : Role.t;mutable lifecycle : Lifecycle.t;mutable libinput : Wire.Obj.Input.Config.Device.t option;
}role_to_string role is the string representation of role.
set_keyboard wm device xkb sets device's xkb attribute to xkb if device is a keyboard. Logs a warning if device is not a keyboard. Sends a River request to set the user's configured keymap.
Effects: mutates WM state; sends River request
set_lifecycle device lifecycle sets device's lifecycle to lifecycle.
Effects: mutates WM state
clear_device device proxy clears device if it is holding proxy.
Effects: mutates WM state
remove_device device deletes device's associated Wayland objects. Is a no-op if device was already removed.
Effects: mutates WM state; sends River request
id proxy is the protocol object id of proxy. The bridge uses it as a map key.
val matches :
t ->
pattern:string option ->
case:Oxbow_core.Pattern.Case.t ->
role:Oxbow_core.Input.Role.t option ->
boolmatches device ~pattern ~case ~role is true when device matches role and pattern according to case.