From d7b2615d73802a9e39453cb1974cd65710d5ef36 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 27 May 2006 00:57:15 +0000 Subject: seemed to fix the mac crasher bug caused by HIDReleaseBuildList wierdness; cleaned up things a bit and made it possible to open devices by type svn path=/trunk/externals/hcs/hid/; revision=5138 --- TODO | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 50 insertions(+), 18 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index a32547d..74954d0 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,14 @@ + + + +TODO: make open functions: + +device number +vendor_id product_id +Product String + + + ============================================================================== = test verbose names @@ -23,24 +34,34 @@ ============================================================================== -= make fake names in input_arrays.c += hid/serial -Instead of having "NULL" names, make up names using the event type, and the -code number, i.e. abs_41, rel_15 +- open/close status outlet +- [send ( to send data + +- [tgl] 1/0 for open/close ============================================================================== -= check out GDAM HID implementation += linux input synch events (EV_SYN) + +- these seem to be generated by the Linux kernel, so they probably don't fit + in with the [hid] scheme. Probably the best thing is to ditch them, or + figure out whether they should be used in controlling the flow of event + data, as they are intended. + + +============================================================================== += open/close status outlet -- GDAM has a HID Manager implementation and probably a Linux one too ============================================================================== = profile [hid] object and usage -- find out how much more CPU the names (btn_?, abs, rel, etc) use over using - just floats. +- find out if [autoscale] takes a lot of CPU power, or where in [hid] is using + CPU where it doesn't have to be ============================================================================== @@ -56,6 +77,12 @@ by # (1,2,...), generic name (mouse1, joystick2, tablet3...), or device name - check against HID Utilities Source/PID.h +============================================================================== += device 0 gets events for all available devices + +- it might be useful to have device #0 open all available devices and output + the events. + ============================================================================== = figure out how to store device ID in obj struct @@ -86,13 +113,11 @@ by # (1,2,...), generic name (mouse1, joystick2, tablet3...), or device name - most functions probably do not need return values -- return (1) seems to be the default on many functions - ============================================================================== = control input messages -- are [poll(, [start(, and [stop( needed? is 0/1/del# enough? +- are [poll(, [start(, and [stop( needed? is 0/1/delay# enough? ============================================================================== @@ -104,7 +129,7 @@ void hid_post(const char *format, const char *); ============================================================================== = event name changes -- make key/button Type btn rather than key (undecided on this one) +- make key/button Type "button" rather than "key" (undecided on this one) ============================================================================== @@ -118,13 +143,6 @@ void hid_post(const char *format, const char *); - these objects should follow the same conventions as [hid] -============================================================================== -= device 0 gets events for all available devices - -- it might be useful to have device #0 open all available devices and output - the events. - - ============================================================================== = figure out whole degree issue @@ -160,6 +178,11 @@ Curves!! http://www.2dcurves.com +============================================================================== += check out using USB timestamp + +- use the USB timestamp to correctly space the output data + /++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @@ -167,6 +190,13 @@ http://www.2dcurves.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/ +______________________________________________________________________________ +- BUG: figure out how to prevent segfaults on mismapped devices/elements + +- it should gracefully ignore things where it currently segfaults + +- looks like its in build_device_list + ______________________________________________________________________________ - BUG: multiple instances pointing to the same device don't have seperate close/free @@ -184,6 +214,8 @@ ______________________________________________________________________________ the screen. Hopefully the HID Manager API will allow raw mouse data access. It must since its used with games. +- turn off/unlink mousepointer for that device? + ______________________________________________________________________________ - BUG: getting events from the queue doesn't output a 0 value event when the -- cgit v1.2.1