Module Types.KeyboardDelegate

Returns the key visually below the given one, or `undefined` for none.

val get_key_below : t -> (string -> string option) option

Returns the key visually above the given one, or `undefined` for none.

Returns the key visually below the given one, or `undefined` for none.

val get_key_above : t -> (string -> string option) option

Returns the key visually to the left of the given one, or `undefined` for none.

Returns the key visually above the given one, or `undefined` for none.

val get_key_left_of : t -> (string -> string option) option

Returns the key visually to the right of the given one, or `undefined` for none.

Returns the key visually to the left of the given one, or `undefined` for none.

val get_key_right_of : t -> (string -> string option) option

Returns the key visually one page below the given one, or `undefined` for none.

Returns the key visually to the right of the given one, or `undefined` for none.

val get_key_page_below : t -> (string -> string option) option

Returns the key visually one page above the given one, or `undefined` for none.

Returns the key visually one page below the given one, or `undefined` for none.

val get_key_page_above : t -> (string -> string option) option

Returns the first key, or `undefined` for none.

Returns the key visually one page above the given one, or `undefined` for none.

val get_first_key : t -> (string option -> bool option -> string option) option

Returns the last key, or `undefined` for none.

Returns the first key, or `undefined` for none.

val get_last_key : t -> (string option -> bool option -> string option) option

Returns the next key after `fromKey` that matches the given search string, or `undefined` for none.

Returns the last key, or `undefined` for none.

Returns the next key after `fromKey` that matches the given search string, or `undefined` for none.

val make : ?get_key_below:(string -> string option) -> ?get_key_above:(string -> string option) -> ?get_key_left_of:(string -> string option) -> ?get_key_right_of:(string -> string option) -> ?get_key_page_below:(string -> string option) -> ?get_key_page_above:(string -> string option) -> ?get_first_key:(string option -> bool option -> string option) -> ?get_last_key:(string option -> bool option -> string option) -> ?get_key_for_search:(string -> string option -> string option) -> unit -> t