#include "internal.h"
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <linux/input.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/timerfd.h>
#include <unistd.h>
#include <wayland-client.h>
Go to the source code of this file.
|
const char * | _glfwPlatformGetVersionString (void) |
|
int | _glfwPlatformInit (void) |
|
void | _glfwPlatformTerminate (void) |
|
static void | createKeyTables (void) |
|
static void | dataDeviceHandleDataOffer (void *data, struct wl_data_device *dataDevice, struct wl_data_offer *id) |
|
static void | dataDeviceHandleDrop (void *data, struct wl_data_device *dataDevice) |
|
static void | dataDeviceHandleEnter (void *data, struct wl_data_device *dataDevice, uint32_t serial, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *id) |
|
static void | dataDeviceHandleLeave (void *data, struct wl_data_device *dataDevice) |
|
static void | dataDeviceHandleMotion (void *data, struct wl_data_device *dataDevice, uint32_t time, wl_fixed_t x, wl_fixed_t y) |
|
static void | dataDeviceHandleSelection (void *data, struct wl_data_device *dataDevice, struct wl_data_offer *id) |
|
static void | dataOfferHandleOffer (void *data, struct wl_data_offer *dataOffer, const char *mimeType) |
|
static _GLFWwindow * | findWindowFromDecorationSurface (struct wl_surface *surface, int *which) |
|
static GLFWbool | inputChar (_GLFWwindow *window, uint32_t key) |
|
static void | keyboardHandleEnter (void *data, struct wl_keyboard *keyboard, uint32_t serial, struct wl_surface *surface, struct wl_array *keys) |
|
static void | keyboardHandleKey (void *data, struct wl_keyboard *keyboard, uint32_t serial, uint32_t time, uint32_t key, uint32_t state) |
|
static void | keyboardHandleKeymap (void *data, struct wl_keyboard *keyboard, uint32_t format, int fd, uint32_t size) |
|
static void | keyboardHandleLeave (void *data, struct wl_keyboard *keyboard, uint32_t serial, struct wl_surface *surface) |
|
static void | keyboardHandleModifiers (void *data, struct wl_keyboard *keyboard, uint32_t serial, uint32_t modsDepressed, uint32_t modsLatched, uint32_t modsLocked, uint32_t group) |
|
static int | min (int n1, int n2) |
|
static void | pointerHandleAxis (void *data, struct wl_pointer *pointer, uint32_t time, uint32_t axis, wl_fixed_t value) |
|
static void | pointerHandleButton (void *data, struct wl_pointer *pointer, uint32_t serial, uint32_t time, uint32_t button, uint32_t state) |
|
static void | pointerHandleEnter (void *data, struct wl_pointer *pointer, uint32_t serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy) |
|
static void | pointerHandleLeave (void *data, struct wl_pointer *pointer, uint32_t serial, struct wl_surface *surface) |
|
static void | pointerHandleMotion (void *data, struct wl_pointer *pointer, uint32_t time, wl_fixed_t sx, wl_fixed_t sy) |
|
static void | registryHandleGlobal (void *data, struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version) |
|
static void | registryHandleGlobalRemove (void *data, struct wl_registry *registry, uint32_t name) |
|
static void | seatHandleCapabilities (void *data, struct wl_seat *seat, enum wl_seat_capability caps) |
|
static void | seatHandleName (void *data, struct wl_seat *seat, const char *name) |
|
static void | setCursor (_GLFWwindow *window, const char *name) |
|
static int | toGLFWKeyCode (uint32_t key) |
|
static void | wmBaseHandlePing (void *data, struct xdg_wm_base *wmBase, uint32_t serial) |
|
◆ _glfwPlatformGetVersionString()
const char* _glfwPlatformGetVersionString |
( |
void |
| ) |
|
◆ _glfwPlatformInit()
int _glfwPlatformInit |
( |
void |
| ) |
|
◆ _glfwPlatformTerminate()
◆ createKeyTables()
◆ dataDeviceHandleDataOffer()
static void dataDeviceHandleDataOffer |
( |
void * |
data, |
|
|
struct wl_data_device * |
dataDevice, |
|
|
struct wl_data_offer * |
id |
|
) |
| |
|
static |
◆ dataDeviceHandleDrop()
static void dataDeviceHandleDrop |
( |
void * |
data, |
|
|
struct wl_data_device * |
dataDevice |
|
) |
| |
|
static |
◆ dataDeviceHandleEnter()
static void dataDeviceHandleEnter |
( |
void * |
data, |
|
|
struct wl_data_device * |
dataDevice, |
|
|
uint32_t |
serial, |
|
|
struct wl_surface * |
surface, |
|
|
wl_fixed_t |
x, |
|
|
wl_fixed_t |
y, |
|
|
struct wl_data_offer * |
id |
|
) |
| |
|
static |
◆ dataDeviceHandleLeave()
static void dataDeviceHandleLeave |
( |
void * |
data, |
|
|
struct wl_data_device * |
dataDevice |
|
) |
| |
|
static |
◆ dataDeviceHandleMotion()
static void dataDeviceHandleMotion |
( |
void * |
data, |
|
|
struct wl_data_device * |
dataDevice, |
|
|
uint32_t |
time, |
|
|
wl_fixed_t |
x, |
|
|
wl_fixed_t |
y |
|
) |
| |
|
static |
◆ dataDeviceHandleSelection()
static void dataDeviceHandleSelection |
( |
void * |
data, |
|
|
struct wl_data_device * |
dataDevice, |
|
|
struct wl_data_offer * |
id |
|
) |
| |
|
static |
◆ dataOfferHandleOffer()
static void dataOfferHandleOffer |
( |
void * |
data, |
|
|
struct wl_data_offer * |
dataOffer, |
|
|
const char * |
mimeType |
|
) |
| |
|
static |
◆ findWindowFromDecorationSurface()
static _GLFWwindow* findWindowFromDecorationSurface |
( |
struct wl_surface * |
surface, |
|
|
int * |
which |
|
) |
| |
|
static |
◆ inputChar()
◆ keyboardHandleEnter()
static void keyboardHandleEnter |
( |
void * |
data, |
|
|
struct wl_keyboard * |
keyboard, |
|
|
uint32_t |
serial, |
|
|
struct wl_surface * |
surface, |
|
|
struct wl_array * |
keys |
|
) |
| |
|
static |
◆ keyboardHandleKey()
static void keyboardHandleKey |
( |
void * |
data, |
|
|
struct wl_keyboard * |
keyboard, |
|
|
uint32_t |
serial, |
|
|
uint32_t |
time, |
|
|
uint32_t |
key, |
|
|
uint32_t |
state |
|
) |
| |
|
static |
◆ keyboardHandleKeymap()
static void keyboardHandleKeymap |
( |
void * |
data, |
|
|
struct wl_keyboard * |
keyboard, |
|
|
uint32_t |
format, |
|
|
int |
fd, |
|
|
uint32_t |
size |
|
) |
| |
|
static |
◆ keyboardHandleLeave()
static void keyboardHandleLeave |
( |
void * |
data, |
|
|
struct wl_keyboard * |
keyboard, |
|
|
uint32_t |
serial, |
|
|
struct wl_surface * |
surface |
|
) |
| |
|
static |
◆ keyboardHandleModifiers()
static void keyboardHandleModifiers |
( |
void * |
data, |
|
|
struct wl_keyboard * |
keyboard, |
|
|
uint32_t |
serial, |
|
|
uint32_t |
modsDepressed, |
|
|
uint32_t |
modsLatched, |
|
|
uint32_t |
modsLocked, |
|
|
uint32_t |
group |
|
) |
| |
|
static |
◆ min()
static int min |
( |
int |
n1, |
|
|
int |
n2 |
|
) |
| |
|
inlinestatic |
◆ pointerHandleAxis()
static void pointerHandleAxis |
( |
void * |
data, |
|
|
struct wl_pointer * |
pointer, |
|
|
uint32_t |
time, |
|
|
uint32_t |
axis, |
|
|
wl_fixed_t |
value |
|
) |
| |
|
static |
◆ pointerHandleButton()
static void pointerHandleButton |
( |
void * |
data, |
|
|
struct wl_pointer * |
pointer, |
|
|
uint32_t |
serial, |
|
|
uint32_t |
time, |
|
|
uint32_t |
button, |
|
|
uint32_t |
state |
|
) |
| |
|
static |
◆ pointerHandleEnter()
static void pointerHandleEnter |
( |
void * |
data, |
|
|
struct wl_pointer * |
pointer, |
|
|
uint32_t |
serial, |
|
|
struct wl_surface * |
surface, |
|
|
wl_fixed_t |
sx, |
|
|
wl_fixed_t |
sy |
|
) |
| |
|
static |
◆ pointerHandleLeave()
static void pointerHandleLeave |
( |
void * |
data, |
|
|
struct wl_pointer * |
pointer, |
|
|
uint32_t |
serial, |
|
|
struct wl_surface * |
surface |
|
) |
| |
|
static |
◆ pointerHandleMotion()
static void pointerHandleMotion |
( |
void * |
data, |
|
|
struct wl_pointer * |
pointer, |
|
|
uint32_t |
time, |
|
|
wl_fixed_t |
sx, |
|
|
wl_fixed_t |
sy |
|
) |
| |
|
static |
◆ registryHandleGlobal()
static void registryHandleGlobal |
( |
void * |
data, |
|
|
struct wl_registry * |
registry, |
|
|
uint32_t |
name, |
|
|
const char * |
interface, |
|
|
uint32_t |
version |
|
) |
| |
|
static |
◆ registryHandleGlobalRemove()
static void registryHandleGlobalRemove |
( |
void * |
data, |
|
|
struct wl_registry * |
registry, |
|
|
uint32_t |
name |
|
) |
| |
|
static |
◆ seatHandleCapabilities()
static void seatHandleCapabilities |
( |
void * |
data, |
|
|
struct wl_seat * |
seat, |
|
|
enum wl_seat_capability |
caps |
|
) |
| |
|
static |
◆ seatHandleName()
static void seatHandleName |
( |
void * |
data, |
|
|
struct wl_seat * |
seat, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ setCursor()
◆ toGLFWKeyCode()
static int toGLFWKeyCode |
( |
uint32_t |
key | ) |
|
|
static |
◆ wmBaseHandlePing()
static void wmBaseHandlePing |
( |
void * |
data, |
|
|
struct xdg_wm_base * |
wmBase, |
|
|
uint32_t |
serial |
|
) |
| |
|
static |
◆ dataDeviceListener
const struct wl_data_device_listener dataDeviceListener |
|
static |
◆ dataOfferListener
const struct wl_data_offer_listener dataOfferListener |
|
static |
◆ keyboardListener
const struct wl_keyboard_listener keyboardListener |
|
static |
◆ pointerListener
const struct wl_pointer_listener pointerListener |
|
static |
◆ registryListener
const struct wl_registry_listener registryListener |
|
static |
◆ seatListener
const struct wl_seat_listener seatListener |
|
static |
◆ wmBaseListener
const struct xdg_wm_base_listener wmBaseListener |
|
static |
static void seatHandleCapabilities(void *data, struct wl_seat *seat, enum wl_seat_capability caps)
static void pointerHandleMotion(void *data, struct wl_pointer *pointer, uint32_t time, wl_fixed_t sx, wl_fixed_t sy)
static void keyboardHandleModifiers(void *data, struct wl_keyboard *keyboard, uint32_t serial, uint32_t modsDepressed, uint32_t modsLatched, uint32_t modsLocked, uint32_t group)
static void dataOfferHandleOffer(void *data, struct wl_data_offer *dataOffer, const char *mimeType)
static void dataDeviceHandleMotion(void *data, struct wl_data_device *dataDevice, uint32_t time, wl_fixed_t x, wl_fixed_t y)
static void pointerHandleLeave(void *data, struct wl_pointer *pointer, uint32_t serial, struct wl_surface *surface)
static void dataDeviceHandleEnter(void *data, struct wl_data_device *dataDevice, uint32_t serial, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *id)
static void registryHandleGlobal(void *data, struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version)
static void keyboardHandleLeave(void *data, struct wl_keyboard *keyboard, uint32_t serial, struct wl_surface *surface)
static void registryHandleGlobalRemove(void *data, struct wl_registry *registry, uint32_t name)
static void keyboardHandleKeymap(void *data, struct wl_keyboard *keyboard, uint32_t format, int fd, uint32_t size)
static void wmBaseHandlePing(void *data, struct xdg_wm_base *wmBase, uint32_t serial)
static void dataDeviceHandleDataOffer(void *data, struct wl_data_device *dataDevice, struct wl_data_offer *id)
static void pointerHandleAxis(void *data, struct wl_pointer *pointer, uint32_t time, uint32_t axis, wl_fixed_t value)
static void dataDeviceHandleSelection(void *data, struct wl_data_device *dataDevice, struct wl_data_offer *id)
static void pointerHandleButton(void *data, struct wl_pointer *pointer, uint32_t serial, uint32_t time, uint32_t button, uint32_t state)
static void seatHandleName(void *data, struct wl_seat *seat, const char *name)
static void dataDeviceHandleDrop(void *data, struct wl_data_device *dataDevice)
static void pointerHandleEnter(void *data, struct wl_pointer *pointer, uint32_t serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy)
static void keyboardHandleEnter(void *data, struct wl_keyboard *keyboard, uint32_t serial, struct wl_surface *surface, struct wl_array *keys)
static void keyboardHandleKey(void *data, struct wl_keyboard *keyboard, uint32_t serial, uint32_t time, uint32_t key, uint32_t state)
static void dataDeviceHandleLeave(void *data, struct wl_data_device *dataDevice)
mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:09