aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-08- fixed "open" state reporting, it was always reporting "open 1"Hans-Christoph Steiner
- cleaned up hidio-help.pd a bit, removed deprecated [print( message svn path=/trunk/externals/io/hidio/; revision=10278
2008-06-26ported some of the recent bugfixes from [hid]:Hans-Christoph Steiner
- in hidio_get_events(), test code before type since code is more likely to fail, therefore saving comparing the one that succeeds a lot - removed [print( message and replaced it with [devices( and [elements( - fixed min/max getting bug (I forgot to include the &my_id struct) - implemented get_device_number_by_id() - removed extra copies of write functions svn path=/trunk/externals/io/hidio/; revision=10113
2008-06-25ported from [hid] to [hidio] using the same style as spiral-joystickHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=10102
2008-06-25- cleaned up debug messages some and set default message level to 0 (none)Hans-Christoph Steiner
- remove [print( and replaced it with [devices( and [elements( - made the [open 0( status output on device close - bumped version number 0.1 in preparation for more work to be done :) svn path=/trunk/externals/io/hidio/; revision=10101
2008-06-25fixed stack overflow caused by my stupidity, mostlyHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=10100
2008-06-25first complete example based on [hidio] and 'mapping'. There is currently a ↵Hans-Christoph Steiner
bug in [hidio] when the [open 1( status message triggers an [info( message, it causes a stack overflow svn path=/trunk/externals/io/hidio/; revision=10098
2008-06-23implemented [devices( and [elements( messages on Mac OS X, to eventallyHans-Christoph Steiner
replace [print( svn path=/trunk/externals/io/hidio/; revision=10078
2008-06-19removed the svn:executable bit for code, patches and textIOhannes m zmölnig
svn path=/trunk/externals/io/hidio/; revision=10048
2008-05-27first sketch of output message with variable atom typesHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=9925
2008-05-27first sketch of output message with variable atom typesHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=9924
2008-05-26added Pd-stype macros for building for Max/MSPHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=9923
2008-05-07i don't claim that everything here is as it should be; but at least it ↵IOhannes m zmölnig
compiles again... (and input seems to work; i have not been able to do the keyboard-led thing, however) svn path=/trunk/externals/io/hidio/; revision=9771
2008-05-05- Got the symbolic usage page/usage tags in the write message working Hans-Christoph Steiner
- sketched out the possibility of numeric-only write messages, and write messages using a symbolic usage page and a numeric usage. svn path=/trunk/externals/io/hidio/; revision=9766
2008-05-05include pd's C files in the etags so I can go directly to the sourceHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=9765
2008-05-05very basic output using Apple HID Utilities to a CUI IO v1.0 firmware, I got ↵Hans-Christoph Steiner
the LED to toggle properly svn path=/trunk/externals/io/hidio/; revision=9764
2007-07-31added dummy function so that it will compile on Mac OS X while I figure this ↵Hans-Christoph Steiner
shit out svn path=/trunk/externals/io/hidio/; revision=8314
2007-07-26first functional output test on GNU/Linux: I can control the keyboard LEDs. ↵Hans-Christoph Steiner
Others should be possible, but Linux doesn't recognize the output types of any of my other devices :( svn path=/trunk/externals/io/hidio/; revision=8245
2007-01-03more orless working Windows code, needs to be adapted to work with global ↵Olaf Matthes
element[][] array svn path=/trunk/externals/io/hidio/; revision=7158
2007-01-03builds on all platforms now, but doesn't link on MinGWHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=7146
2007-01-02added plattform_specific_new and a pointer to my Windows specific stuff in ↵Olaf Matthes
t_hid struct svn path=/trunk/externals/io/hidio/; revision=7128
2007-01-02fixed ff function return values across filesHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=7127
2007-01-02Olaf's first code for windowsHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=7126
2007-01-02I cleaned up the return values. This is what I used:Hans-Christoph Steiner
* EXIT_SUCCESS for successful conditions * -1 for failure when a device number is being returned * EXIT_FAILURE for all other failures EXIT_SUCCESS and EXIT_FAILURE are defined in stdlib.h svn path=/trunk/externals/io/hidio/; revision=7121
2007-01-01The output message is pre-generated by hidio_build_element_list() and storedHans-Christoph Steiner
in t_hid_element->output_message. Then just the value is updated. This saves a bit of CPU time since this is run for every event that is output. Previously, for each event outputted, it had to allocate a t_atom[3] and run a SETSYMBOL for the name and a SETFLOAT for the instance. svn path=/trunk/externals/io/hidio/; revision=7117
2007-01-01renamed debug_print() to debug_post() since its a wrapper to post()Hans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=7116
2006-12-31added latency measuring code on Darwin (to be removed once testing is done), ↵Hans-Christoph Steiner
and removed threading svn path=/trunk/externals/io/hidio/; revision=7115
2006-12-21fixed the bug that made it crash in Max/MSP on OS XOlaf Matthes
svn path=/trunk/externals/io/hidio/; revision=7044
2006-12-08some changes to compile for Max again on OS X, still crashes when starting ↵Olaf Matthes
to poll svn path=/trunk/externals/io/hidio/; revision=6736
2006-12-08- laid out new event labeling scheme based more on USB HID rather than LinuxHans-Christoph Steiner
input.h. It works on my devices on my Mac OS X. I probably broke Linux support. The scheme is in a new file, hidio_types.c - all event symbols except the vendor-defined usage are generated in hidio_setup(). The symbols for vendor-defined usages are generated when the device's element list is built. - changed macros to work cleanly when compiled on Windows using MinGW gcc - fixed up help file to better represent the state of things (still could be much better) svn path=/trunk/externals/io/hidio/; revision=6718
2006-12-04made child thread priority adjustable by userOlaf Matthes
svn path=/trunk/externals/io/hidio/; revision=6613
2006-12-04some more changes for Windows compatibilityOlaf Matthes
svn path=/trunk/externals/io/hidio/; revision=6610
2006-12-04minor fix for MinGW compilationHans-Christoph Steiner
svn path=/trunk/externals/io/hidio/; revision=6607
2006-12-04fixed Apple's sloppy use of case in #includes (from patch 1608063 submitted ↵Hans-Christoph Steiner
by kunowoudt) svn path=/trunk/externals/io/hidio/; revision=6605
2006-12-03added some #defines and #ifdefs in order for code to compile in WindowsOlaf Matthes
svn path=/trunk/externals/io/hidio/; revision=6604
2006-12-02added more mutexes for thread safe operation, renamed hidio_read to ↵Olaf Matthes
hidio_child_read because it get's called by child thread svn path=/trunk/externals/io/hidio/; revision=6572
2006-12-01put reading in child threadOlaf Matthes
svn path=/trunk/externals/io/hidio/; revision=6569
2006-12-01some more threading related changes, changed some output values from type ↵Olaf Matthes
float to int in Max version svn path=/trunk/externals/io/hidio/; revision=6562
2006-12-01added threading for 'open' and 'close', needs more work but shows that open ↵Olaf Matthes
is a blocking function that takes ages to complete on first call svn path=/trunk/externals/io/hidio/; revision=6561
2006-12-01added pre-generated symbols for often used symbolsOlaf Matthes
svn path=/trunk/externals/io/hidio/; revision=6559
2006-12-01initial Max port for Max 4.5 on OSOlaf Matthes
svn path=/trunk/externals/io/hidio/; revision=6558
2006-11-30found the stupid typo, it now works on Mac OS X, and is included in the ↵Hans-Christoph Steiner
linux and darwin auto-build svn path=/trunk/externals/io/hidio/; revision=6534
2006-11-30did lots of renaming to the new [hidio] name, removed a little bit of cruft. ↵Hans-Christoph Steiner
Builds on Mac OS X, but doesn't load yet :-/. hidio_setup() gets called successfully, but for some reason hidio_new() does not seem to get called svn path=/trunk/externals/io/hidio/; revision=6533
2006-11-30moved over sources from externals/hcs/hid/HID Utilities Source. This is not ↵svn2git-rootHans-Christoph Steiner
just a straight download of the .sit package, it includes some necessary updates that were posted to the Apple lists. See the history in externals/hcs/hid/HID Utilities Source for more info. svn path=/trunk/externals/io/hidio/; revision=6532