Search
lxdream.org :: lxdream/src/maple/maple.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/maple.h
changeset 850:28782ebbd01d
prev838:9abb2fa58934
next1034:7044e01148f0
author nkeynes
date Mon Sep 08 07:56:33 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Add lightgun support
file annotate diff log raw
1.1 --- a/src/maple/maple.h Tue Sep 02 00:42:43 2008 +0000
1.2 +++ b/src/maple/maple.h Mon Sep 08 07:56:33 2008 +0000
1.3 @@ -96,10 +96,13 @@
1.4 int function, uint32_t block, unsigned char *outbuf, unsigned int *buflen);
1.5 int (*write_block)(struct maple_device *dev,
1.6 int function, uint32_t block, unsigned char *inbuf, unsigned int buflen);
1.7 + void (*start_gun)(struct maple_device *dev);
1.8 + void (*stop_gun)(struct maple_device *dev);
1.9 };
1.10
1.11 extern struct maple_device_class controller_class;
1.12 extern struct maple_device_class keyboard_class;
1.13 +extern struct maple_device_class lightgun_class;
1.14 extern struct maple_device_class mouse_class;
1.15
1.16 maple_device_t maple_new_device( const gchar *name );
.