Age | Commit message (Collapse) | Author |
|
key name lookup table in input_arrays.c to make the USB HID derived key names
svn path=/trunk/externals/io/hidio/; revision=10284
|
|
- 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
|
|
svn path=/trunk/externals/io/hidio/; revision=9924
|
|
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
|
|
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
|
|
svn path=/trunk/externals/io/hidio/; revision=7146
|
|
* 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
|
|
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
|
|
svn path=/trunk/externals/io/hidio/; revision=7116
|
|
and removed threading
svn path=/trunk/externals/io/hidio/; revision=7115
|
|
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
|
|
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
|