mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
This adds support in ioemu for PVFB frontend as stubdomain display. This permits for instance to use SDL in dom0 to perform the eventual display. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
42 lines
975 B
C
42 lines
975 B
C
#include <xen/io/kbdif.h>
|
|
#include <wait.h>
|
|
|
|
/* from <linux/input.h> */
|
|
#ifndef BTN_LEFT
|
|
#define BTN_LEFT 0x110
|
|
#endif
|
|
#ifndef BTN_RIGHT
|
|
#define BTN_RIGHT 0x111
|
|
#endif
|
|
#ifndef BTN_MIDDLE
|
|
#define BTN_MIDDLE 0x112
|
|
#endif
|
|
#ifndef KEY_Q
|
|
#define KEY_Q 16
|
|
#endif
|
|
#ifndef KEY_MAX
|
|
#define KEY_MAX 0x1ff
|
|
#endif
|
|
|
|
|
|
struct kbdfront_dev;
|
|
struct kbdfront_dev *init_kbdfront(char *nodename, int abs_pointer);
|
|
#ifdef HAVE_LIBC
|
|
int kbdfront_open(struct kbdfront_dev *dev);
|
|
#endif
|
|
|
|
int kbdfront_receive(struct kbdfront_dev *dev, union xenkbd_in_event *buf, int n);
|
|
extern struct wait_queue_head kbdfront_queue;
|
|
|
|
void shutdown_kbdfront(struct kbdfront_dev *dev);
|
|
|
|
|
|
struct fbfront_dev *init_fbfront(char *nodename, void *data, int width, int height, int depth, int line_length, int mem_length);
|
|
#ifdef HAVE_LIBC
|
|
int fbfront_open(struct fbfront_dev *dev);
|
|
#endif
|
|
|
|
void fbfront_update(struct fbfront_dev *dev, int x, int y, int width, int height);
|
|
|
|
void shutdown_fbfront(struct fbfront_dev *dev);
|