Functions that deal with creating, destroying, or interacting with Wayland Input.
More...
Functions that deal with creating, destroying, or interacting with Wayland Input.
◆ ecore_wl2_input_seat_capabilities_get()
EAPI Ecore_Wl2_Seat_Capabilities ecore_wl2_input_seat_capabilities_get |
( |
Ecore_Wl2_Input * |
input | ) |
|
Get the seat capabilities for a given input.
- Parameters
-
- Since
- 1.19
◆ ecore_wl2_input_seat_id_get()
EAPI unsigned int ecore_wl2_input_seat_id_get |
( |
Ecore_Wl2_Input * |
input | ) |
|
Get the wayland's seat id from an input.
- Parameters
-
- Returns
- The seat id
- Since
- 1.19
◆ ecore_wl2_input_display_get()
EAPI Ecore_Wl2_Display* ecore_wl2_input_display_get |
( |
const Ecore_Wl2_Input * |
input | ) |
|
Get the display object of an input.
- Parameters
-
- Returns
- The display
- Since
- 1.20
◆ ecore_wl2_input_keymap_get()
EAPI struct xkb_keymap* ecore_wl2_input_keymap_get |
( |
const Ecore_Wl2_Input * |
input | ) |
|
Get the xkb_keymap object of an input.
- Parameters
-
- Returns
- The xkb_keymap object
- Since
- 1.20
◆ ecore_wl2_input_name_get()
Get the name of an input.
- Parameters
-
- Returns
- The name
- Since
- 1.20
◆ ecore_wl2_input_keyboard_repeat_get()
EAPI Eina_Bool ecore_wl2_input_keyboard_repeat_get |
( |
const Ecore_Wl2_Input * |
input, |
|
|
double * |
rate, |
|
|
double * |
delay |
|
) |
| |
Get the keyboard repeat rate and delay of an input.
- Parameters
-
input | The input |
rate | Pointer to store the repeat rate (in seconds) |
rate | Pointer to store the repeat delay (in seconds) |
- Returns
- True if repeat is enabled
- Since
- 1.20
◆ ecore_wl2_input_seat_device_get()
EAPI Eo* ecore_wl2_input_seat_device_get |
( |
const Ecore_Wl2_Input * |
input, |
|
|
const Ecore_Wl2_Window * |
window |
|
) |
| |
Get the Evas_Device for the seat belonging to a window from an input.
- Parameters
-
input | The input |
window | The window |
- Returns
- The device object
- Since
- 1.20
◆ ecore_wl2_input_pointer_xy_get()
EAPI Eina_Bool ecore_wl2_input_pointer_xy_get |
( |
const Ecore_Wl2_Input * |
input, |
|
|
int * |
x, |
|
|
int * |
y |
|
) |
| |
Retrieves the mouse position of the seat.
- Parameters
-
input | The seat |
x | where to return the horizontal position. May be NULL. Returns 0 on error. |
y | where to return the vertical position. May be NULL. Returns 0 on error. |
- Returns
EINA_TRUE
if coords were successfully retrieved
- Since
- 1.20
◆ ecore_wl2_input_pointer_set()
EAPI void ecore_wl2_input_pointer_set |
( |
Ecore_Wl2_Input * |
input, |
|
|
struct wl_surface * |
surface, |
|
|
int |
hot_x, |
|
|
int |
hot_y |
|
) |
| |
Set a given wl_surface to use as the pointer on a seat.
- Parameters
-
input | The seat to set this surface as the pointer on |
surface | The surface to use as the pointer |
hot_x | The x coordinate to use as the cursor hot spot |
hot_y | The y coordinate to use as the cursor hot spot |
- Since
- 1.20
◆ ecore_wl2_input_cursor_from_name_set()
EAPI void ecore_wl2_input_cursor_from_name_set |
( |
Ecore_Wl2_Input * |
input, |
|
|
const char * |
cursor |
|
) |
| |
Set a specific cursor on a given seat.
This function will try to find a matching cursor inside the existing cursor theme and set the pointer for the specified seat to be the specified cursor
- Parameters
-
input | The seat to set the cursor on |
cursor | The name of the cursor to try and set |
- Since
- 1.20