keyboard now processes keys via rfb. framework in place for multiple modules.
[dcpu16] / hw_keyboard.h
index cf7eb4c9c9c0b531fb7dc282350ade848614beeb..a36047651b82f856394e338085fcc0993a91426b 100644 (file)
@@ -1,7 +1,17 @@
 #ifndef KEYBOARD_H_Y2G5EOAS
 #define KEYBOARD_H_Y2G5EOAS
 
+#ifdef HAVE_LIBVNCSERVER
+#include "rfb/rfb.h"
+#endif /* HAVE_LIBVNCSERVER */
+
+#include "dcpu16.h"
+
 struct dcpu16_hw *keyboard_new(struct dcpu16 *);
 void keyboard_del(struct dcpu16_hw **);
 
+#ifdef HAVE_LIBVNCSERVER
+void keyboard_vnc_associate(struct dcpu16_hw *, rfbScreenInfoPtr);
+#endif /* HAVE_LIBVNCSERVER */
+
 #endif /* KEYBOARD_H_Y2G5EOAS */