package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801
doc/oxbow.river/River/Server/Input/Management/River_input_device_v1/class-v2/index.html
Class River_input_device_v1.v2Source
Handler for a proxy with version >= 2.
constraint 'a = [< `V2 ]method private virtual on_destroy : [> `V2 ] t -> unitDestroy the input 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_assign_to_seat : [> `V2 ] t -> name:string -> unitAssign the input device to a seat.
Assign the input device to a seat. All input devices not explicitly assigned to a seat are considered assigned to the default seat.
Has no effect if a seat with the given name does not exist.
method private virtual on_set_repeat_info : [> `V2 ] t ->
rate:int32 ->
delay:int32 ->
unitSet keyboard repeat rate and delay.
Set repeat rate and delay for a keyboard input device. Has no effect if the device is not a keyboard.
Negative values for either rate or delay are illegal. A rate of zero will disable any repeating (regardless of the value of delay).
method private virtual on_set_scroll_factor : [> `V2 ] t ->
factor:Fixed.t ->
unitSet scroll factor.
Set the scroll factor for a pointer input device. Has no effect if the device is not a pointer.
For example, a factor of 0.5 will make scrolling twice as slow while a factor of 3.0 will make scrolling 3 times as fast.
Setting a scroll factor less than 0 is a protocol error.
method private virtual on_map_to_output : [> `V2 ] t ->
output:
([ `Wl_output ], [> Imports.Wl_output.versions ], [ `Server ]) Proxy.t
option ->
unitMap input device to the given output.
Map the input device to the given output. Has no effect if the device is not a pointer, touch, or tablet device.
If mapped to both an output and a rectangle, the rectangle has priority.
Passing null clears an existing mapping.
method private virtual on_map_to_rectangle : [> `V2 ] t ->
x:int32 ->
y:int32 ->
width:int32 ->
height:int32 ->
unitMap input device to the given rectangle.
Map the input device to the given rectangle in the global compositor coordinate space. Has no effect if the device is not a pointer, touch, or tablet device.
If mapped to both an output and a rectangle, the rectangle has priority.
Width and height must be greater than or equal to 0.
Passing 0 for width or height clears an existing mapping.