package oxbow

  1. Overview
  2. Docs
Dynamic window manager for the river Wayland compositor

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801

doc/oxbow.core/Oxbow_core/Pointer_button/index.html

Module Oxbow_core.Pointer_buttonSource

Sourcetype t =
  1. | Key_unknown
  2. | Btn_0
  3. | Btn_1
  4. | Btn_2
  5. | Btn_3
  6. | Btn_4
  7. | Btn_5
  8. | Btn_6
  9. | Btn_7
  10. | Btn_8
  11. | Btn_9
  12. | Btn_left
  13. | Btn_right
  14. | Btn_middle
  15. | Btn_side
  16. | Btn_extra
  17. | Btn_forward
  18. | Btn_back
  19. | Btn_task
Sourceval all : t list

all is the list of all pointer buttons, excluding Key_unknown.

Sourceval of_string : string -> (t, string) result

of_string s is the button whose constructor name is s ("Btn_left"); Error msg when unrecognized.

Sourceval to_string : t -> string

to_string b is b's constructor name.

Sourceval of_int32 : int32 -> t

of_int32 code is the button for Linux input-event code; Key_unknown for any code outside 0x100-0x117.

Sourceval to_int32 : t -> int32

to_int32 b is b's Linux input-event code; Key_unknown is KEY_UNKNOWN (240l).

Sourceval t_of_yojson : Yojson.Safe.t -> t
Sourceval yojson_of_t : t -> Yojson.Safe.t