Monado OpenXR Runtime
|
Small cli application to demonstrate use of libmonado. More...
#include "monado.h"
#include <ctype.h>
#include <limits.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <stdbool.h>
Macros | |
#define | P(...) fprintf(stdout, __VA_ARGS__) |
#define | PE(...) fprintf(stderr, __VA_ARGS__) |
#define | CHECK_ID_EXIT(ID) |
Typedefs | |
typedef enum op_mode | op_mode_t |
Enumerations | |
enum | op_mode { MODE_GET , MODE_SET_PRIMARY , MODE_SET_FOCUSED , MODE_TOGGLE_IO , MODE_RECENTER , MODE_GET , MODE_SET_PRIMARY , MODE_SET_FOCUSED , MODE_TOGGLE_IO } |
Functions | |
int | get_mode (mnd_root_t *root) |
int | set_primary (mnd_root_t *root, int client_index) |
int | set_focused (mnd_root_t *root, int client_index) |
int | toggle_io (mnd_root_t *root, int client_index) |
int | main (int argc, char *argv[]) |
Small cli application to demonstrate use of libmonado.
#define CHECK_ID_EXIT | ( | ID | ) |