Monado OpenXR Runtime

Small cli application to control IPC service. More...

#include "util/u_file.h"
#include "client/ipc_client.h"
#include "client/ipc_client_connection.h"
#include "ipc_client_generated.h"
#include <ctype.h>
Include dependency graph for main.c:

Macros

#define P(...)   fprintf(stdout, __VA_ARGS__)
 
#define PE(...)   fprintf(stderr, __VA_ARGS__)
 

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 (struct ipc_connection *ipc_c)
 
int set_primary (struct ipc_connection *ipc_c, int client_id)
 
int set_focused (struct ipc_connection *ipc_c, int client_id)
 
int toggle_io (struct ipc_connection *ipc_c, int client_id)
 
int recenter_local_spaces (struct ipc_connection *ipc_c)
 
int main (int argc, char *argv[])
 

Detailed Description

Small cli application to control IPC service.

Author
Pete Black pblac.nosp@m.k@co.nosp@m.llabo.nosp@m.ra.c.nosp@m.om