Search
lxdream.org :: lxdream/src/maple/maple.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/maple.h
changeset 608:4f588e52bce0
prev561:533f6b478071
next736:a02d1475ccfd
author nkeynes
date Sat Jan 26 02:45:27 2008 +0000 (16 years ago)
permissions -rw-r--r--
last change Bug #50: Implement mouse and keyboard
file annotate diff log raw
1.1 --- a/src/maple/maple.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/maple/maple.h Sat Jan 26 02:45:27 2008 +0000
1.3 @@ -89,6 +89,8 @@
1.4 };
1.5
1.6 extern struct maple_device_class controller_class;
1.7 +extern struct maple_device_class keyboard_class;
1.8 +extern struct maple_device_class mouse_class;
1.9
1.10 maple_device_t maple_new_device( const gchar *name );
1.11 maple_device_t maple_get_device( unsigned int port, unsigned int periph );
1.12 @@ -102,4 +104,9 @@
1.13 void maple_detach_all( );
1.14 void maple_reattach_all( );
1.15
1.16 +/**
1.17 + * Default destroy implementation that just frees the dev memory.
1.18 + */
1.19 +void maple_default_destroy( maple_device_t dev );
1.20 +
1.21 #endif /* !lxdream_maple_H */
.