diff options
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 68 |
1 files changed, 50 insertions, 18 deletions
@@ -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) ============================================================================== @@ -119,13 +144,6 @@ void hid_post(const char *format, const char *); ============================================================================== -= 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 - should degree conversion also change rotation direction and 0 point? The @@ -160,6 +178,11 @@ Curves!! http://www.2dcurves.com +============================================================================== += check out using USB timestamp + +- use the USB timestamp to correctly space the output data + /++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @@ -168,6 +191,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 - closing the device on one instance closing that same device on all other @@ -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 |