aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-27 16:41:59 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-27 16:41:59 +0000
commitc20ee1f2878608e9417c9a00c487fa0fbd7837a2 (patch)
treea077b86b93be3d87cc4d0921e46e7f3e260f1a5f /TODO
parentd7b2615d73802a9e39453cb1974cd65710d5ef36 (diff)
new open-by methods seem to be working properly
svn path=/trunk/externals/hcs/hid/; revision=5143
Diffstat (limited to 'TODO')
-rw-r--r--TODO109
1 files changed, 11 insertions, 98 deletions
diff --git a/TODO b/TODO
index 74954d0..9a4af45 100644
--- a/TODO
+++ b/TODO
@@ -1,12 +1,19 @@
+==============================================================================
+= output device data on open
+
+- Logical Min/Max i.e. [range -127 127(
+- open 1/0 i.e. [open 1(
+- vendor/product id i.e. [id 0x1234 0x4567(
+- device string [name Trackpad(
-TODO: make open functions:
-device number
-vendor_id product_id
-Product String
+==============================================================================
+= open devices by name
+
+i.e "Trackpad" a la Max's [hi]
==============================================================================
@@ -63,14 +70,6 @@ Product String
- find out if [autoscale] takes a lot of CPU power, or where in [hid] is using
CPU where it doesn't have to be
-
-==============================================================================
-= device selection
-
-by # (1,2,...), generic name (mouse1, joystick2, tablet3...), or device name
-("Trackpad", "Microsoft 5-button Mouse with IntelliEye(TM)", etc.)
-
-
==============================================================================
= Report available FF effects
@@ -78,24 +77,6 @@ by # (1,2,...), generic name (mouse1, joystick2, tablet3...), or device name
==============================================================================
-= 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
-
-(in SC_HID.c its locID and cookie)
-
-- it should probably just store the Pd arguments
-
-- this will have to be dealt with when the "mouse0", "joystick2" arguments are
- implemented
-
-
-==============================================================================
= pollfn for mouse-like devices
- determine whether using a pollfn is actually better than using a t_clock
@@ -115,70 +96,12 @@ by # (1,2,...), generic name (mouse1, joystick2, tablet3...), or device name
==============================================================================
-= control input messages
-
-- are [poll(, [start(, and [stop( needed? is 0/1/delay# enough?
-
-
-==============================================================================
-= consistent console output
-
-void hid_post(const char *format, const char *);
-
-
-==============================================================================
= event name changes
- make key/button Type "button" rather than "key" (undecided on this one)
==============================================================================
-= make [linuxhid] [darwinhid] and [windowshid]
-
-- so much info is lost in the translation to a common event scheme that it
- would be quite handy to have platform-specific objects. This would give
- access to the entire range of devices supported by HID Manager, Linux input
- events, etc.
-
-- these objects should follow the same conventions as [hid]
-
-
-==============================================================================
-= figure out whole degree issue
-
-- should degree conversion also change rotation direction and 0 point? The
- degrees on a compass rotate the opposite direction of radians. The 0 point
- of a compass is due north, with radians, its right/due east.
-
-- [hid_polar] should take an argument (in degrees?) which specifies where the
- 0 is on the circle
-
-
-==============================================================================
-= mapping object ideas
-
-[hid2midi] [midi2hid]
-
-midi value + bend <-> hid
- - use MIDI pitch and bend data for values in between MIDI notes?
-
-object for Fletcher-Munson Equal-loudness contours
-
-median average object
-
-[infinitepot] for use with a [knob] or any single axis that could be infinite.
-
-[hid_debounce]
-
-peak finder object
-
-"kalman filters"
-
-Curves!!
-
-http://www.2dcurves.com
-
-==============================================================================
= check out using USB timestamp
- use the USB timestamp to correctly space the output data
@@ -208,16 +131,6 @@ ______________________________________________________________________________
______________________________________________________________________________
-- BUG: on MacOS X, mouse axis data is limited by the screen dimensions
-
-- the axes data stops outputting when the mouse pointer reaches the edge of
- 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
motion stops, so when the mouse stops, the sound keeps playing.