From e6087aad22076ca3f2066020bd4271bb0991d370 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 28 May 2006 20:13:58 +0000 Subject: On Mac OSX, replaced hid_get_device_by_number() by a global array of pointers, it should reduce the CPU load noticably. next I need to handle elements independently svn path=/trunk/externals/hcs/hid/; revision=5147 --- TODO | 56 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 44 insertions(+), 12 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index a6d899c..66a26dd 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,29 @@ ============================================================================== -= make second inlet for poll # (for [human->pd] += output one value per poll + +- for relative axes, sum up all events and output one +http://lists.apple.com/archives/mac-games-dev/2005/Oct/msg00060.html + +- for absolute axes, just output latest value. if they are not in the queue, + I can check them manually + +- buttons, output everything + +- is this at all necessary? How often do multiple events happen in one poll period? + + +============================================================================== += iterate through elements and do a proper queue of the ones we want: + +- also, label multiple instances of the same usage + +http://mud.5341.com/msg/8455.html + + +============================================================================== += make second inlet for poll # (for [human->pd]) ============================================================================== @@ -18,6 +40,17 @@ i.e "Trackpad" a la Max's [hi] +============================================================================== += += autoscaling based on Logical min/max + +- this is probably essential for input, the question is how to find out what + the data range is easily. + +- output would be handy, rather than autoscale, to save on CPU + + + ============================================================================== = test verbose names @@ -42,6 +75,12 @@ i.e "Trackpad" a la Max's [hi] - change word "code" to "element" +============================================================================== += event name changes + +- make key/button Type "button" rather than "key" (undecided on this one) + + ============================================================================== = hid/serial @@ -61,10 +100,6 @@ i.e "Trackpad" a la Max's [hi] data, as they are intended. -============================================================================== -= open/close status outlet - - ============================================================================== = profile [hid] object and usage @@ -72,6 +107,7 @@ i.e "Trackpad" a la Max's [hi] - find out if [autoscale] takes a lot of CPU power, or where in [hid] is using CPU where it doesn't have to be + ============================================================================== = Report available FF effects @@ -97,16 +133,12 @@ i.e "Trackpad" a la Max's [hi] - most functions probably do not need return values -============================================================================== -= event name changes - -- make key/button Type "button" rather than "key" (undecided on this one) - - ============================================================================== = check out using USB timestamp -- use the USB timestamp to correctly space the output data +- use the USB timestamp to correctly space the output data (meh, probably + unnecessary) + /++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\ -- cgit v1.2.1