package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801
doc/oxbow.river/River/Server/Input/Config/River_libinput_device_v1/class-v1/index.html
Class River_libinput_device_v1.v1Source
Handler for a proxy with version >= 1.
constraint 'a = [< `V1 | `V2 ]method private virtual on_destroy : [> `V1 | `V2 ] t -> unitDestroy the libinput device object.
This request indicates that the client will no longer use the input device object and that it may be safely destroyed.
method private virtual on_set_send_events : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
mode:Imports.River_libinput_device_v1.Send_events_modes.t ->
unitSet send events mode.
Set the send events mode for the device.
method private virtual on_set_tap : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Tap_state.t ->
unitEnable/disable tap-to-click.
Configure tap-to-click on this device, with a default mapping of 1, 2, 3 finger tap mapping to left, right, middle click, respectively.
method private virtual on_set_tap_button_map : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
button_map:Imports.River_libinput_device_v1.Tap_button_map.t ->
unitSet tap-to-click button map.
Set the finger number to button number mapping for tap-to-click. The default mapping on most devices is to have a 1, 2 and 3 finger tap to map to the left, right and middle button, respectively.
method private virtual on_set_drag : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Drag_state.t ->
unitSet tap-and-drag state.
Configure tap-and-drag functionality on the device.
method private virtual on_set_drag_lock : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Drag_lock_state.t ->
unitSet drag lock state.
Configure drag-lock during tapping on this device. When enabled, a finger may be lifted and put back on the touchpad and the drag process continues. A timeout for lifting the finger is optional. When disabled, lifting the finger during a tap-and-drag will immediately stop the drag. See the libinput documentation for more details.
method private virtual on_set_three_finger_drag : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Three_finger_drag_state.t ->
unitSet three finger drag state.
Configure three finger drag functionality for the device.
method private virtual on_set_calibration_matrix : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
matrix:string ->
unitSet calibration matrix.
Set calibration matrix.
method private virtual on_set_accel_profile : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
profile:Imports.River_libinput_device_v1.Accel_profile.t ->
unitSet acceleration profile.
Set the acceleration profile.
method private virtual on_set_accel_speed : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
speed:string ->
unitSet acceleration speed.
Set the acceleration speed within a range of -1, 1, where 0 is the default acceleration for this device, -1 is the slowest acceleration and 1 is the maximum acceleration available on this device.
method private virtual on_apply_accel_config : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
config:
([ `River_libinput_accel_config_v1 ],
[> Imports.River_libinput_accel_config_v1.versions ],
[ `Server ])
Proxy.t ->
unitApply acceleration config.
Apply a pointer accleration config.
method private virtual on_set_natural_scroll : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Natural_scroll_state.t ->
unitSet natural scroll state.
Set natural scroll state.
method private virtual on_set_left_handed : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Left_handed_state.t ->
unitSet left-handed mode state.
Set left-handed mode state.
method private virtual on_set_click_method : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
method_:Imports.River_libinput_device_v1.Click_method.t ->
unitSet click method.
Set click method.
method private virtual on_set_clickfinger_button_map : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
button_map:Imports.River_libinput_device_v1.Clickfinger_button_map.t ->
unitSet clickfinger button map.
Set clickfinger button map. Supported if click_methods.clickfinger is supported.
method private virtual on_set_middle_emulation : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Middle_emulation_state.t ->
unitSet middle mouse button emulation state.
Set middle mouse button emulation state.
method private virtual on_set_scroll_method : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
method_:Imports.River_libinput_device_v1.Scroll_method.t ->
unitSet scroll method.
Set scroll method.
method private virtual on_set_scroll_button : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
button:int32 ->
unitSet scroll button.
Set scroll button. Supported if scroll_methods.on_button_down is supported.
method private virtual on_set_scroll_button_lock : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Scroll_button_lock_state.t ->
unitSet scroll button lock state.
Set scroll button lock state. Supported if scroll_methods.on_button_down is supported.
method private virtual on_set_dwt : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Dwt_state.t ->
unitSet disable-while-typing state.
Set disable-while-typing state.
method private virtual on_set_dwtp : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
state:Imports.River_libinput_device_v1.Dwtp_state.t ->
unitSet disable-while-trackpointing state.
Set disable-while-trackpointing state.
method private virtual on_set_rotation : [> `V1 | `V2 ] t ->
([ `River_libinput_result_v1 ], 'a, [ `Server ]) Proxy.t ->
angle:int32 ->
unitSet rotation angle.
Set rotation angle in degrees clockwise off the logical neutral position. Angle must be in the range 0-360).