aboutsummaryrefslogtreecommitdiff
path: root/hid.c
AgeCommit message (Collapse)Author
2006-08-25code cleanups, replaced sprintf() for snprintf() for security's sakeHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=5735
2006-08-22everything is building, the element array is being properly populated, I ↵Hans-Christoph Steiner
just need to fix the data output to use the new element array svn path=/trunk/externals/hcs/hid/; revision=5706
2006-08-15- renamed variables for clarityHans-Christoph Steiner
- added section to test the new instance tracking in output messages svn path=/trunk/externals/hcs/hid/; revision=5600
2006-06-02first attempt at having one instance do all of the device polling, based on ↵Hans-Christoph Steiner
clock_getlogicaltime(). It works for multiple instances in one patch, but does not work for multiple instances in different patches (i.e. they both still seem to get events...) svn path=/trunk/externals/hcs/hid/; revision=5159
2006-06-02added a bunch more status info in the Pd domain: device count, range for ↵Hans-Christoph Steiner
each element, etc svn path=/trunk/externals/hcs/hid/; revision=5158
2006-06-02ripped out old method of get events and build whole new method which should ↵Hans-Christoph Steiner
use a lot less CPU; its now based on arrays of structs that are built before running. There is a 2D array for (device,element) struct, t_hid_element, which holds the output symbols, thus eliminating symbol lookups for each event that is outputted; its Mac OS X only write now, GNU/Linux will come eventually... svn path=/trunk/externals/hcs/hid/; revision=5156
2006-05-27added some status reporting, and got all the different methods for opening ↵Hans-Christoph Steiner
working on Mac OS X; time to fix GNU/Linux now... svn path=/trunk/externals/hcs/hid/; revision=5145
2006-05-27new open-by methods seem to be working properlyHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=5143
2006-05-27seemed to fix the mac crasher bug caused by HIDReleaseBuildList wierdness; ↵Hans-Christoph Steiner
cleaned up things a bit and made it possible to open devices by type svn path=/trunk/externals/hcs/hid/; revision=5138
2006-01-25stopped outputting EV_SYN events since they are not needed in Pd space and ↵Hans-Christoph Steiner
they cause troubles; cleaned up all warnings svn path=/trunk/externals/hcs/hid/; revision=4487
2005-06-10- got ff_autocenter and ff_gain working fine, now its time for some actualHans-Christoph Steiner
effects!! svn path=/trunk/externals/hcs/hid/; revision=3164
2005-06-06- cleaned up CFLAGS and tried higher optimization, which failed to buildHans-Christoph Steiner
- implemented a second outlet which outputs data upon [refresh( to build a popup menu to select the device by name using a [popup]. This uncovered a bug, which is not fixed, it seems that everytime you open a device, that device gets added again to the list of devices svn path=/trunk/externals/hcs/hid/; revision=3122
2005-06-04updated joystick support on Mac OS X so that joystick twist is set to abs_rz ↵Hans-Christoph Steiner
and throttle is set to abs_throttle even when devices use different code pages (USB HID spec sucks!); minor code cleanups svn path=/trunk/externals/hcs/hid/; revision=3111
2005-05-20got rid of some minor warningsHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3040
2005-04-28switched Linux to use common hid_output_event()Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2843
2004-11-28fixed a number of annoying bugs in MacOS X; cleaned up code; now multiple ↵Hans-Christoph Steiner
[hid]s work at the same time svn path=/trunk/externals/hcs/hid/; revision=2329
2004-11-15prepping for release, fixed a couple very minor bugsHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2276
2004-11-14removed the ev_ from the typesHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2270
2004-11-07cleaned up the code a fair amount, but there are still lots of bugs bugs bugs...Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2238
2004-11-06added release major and minor versionHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2228
2004-11-06things are working MacOS X, but there are lots of bugsHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2227
2004-11-06mice and joysticks work under MacOS X now, but there is much work left to be ↵Hans-Christoph Steiner
done in terms of translating HID Manager to Linux Input events. svn path=/trunk/externals/hcs/hid/; revision=2220
2004-11-04cleaned up Darwin side after Linux work; laid out Darwin structure and got ↵Hans-Christoph Steiner
device opening working svn path=/trunk/externals/hcs/hid/; revision=2206
2004-10-25completed moving GNU/Linux support into the new structure; flushed out ↵Hans-Christoph Steiner
Darwin a bit more svn path=/trunk/externals/hcs/hid/; revision=2154
2004-10-23got everything running under GNU/Linux again, time to switch back to MacOS XHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2144
2004-10-22more progress generalizing for cross-platformness; Darwin stuff compiles and ↵Hans-Christoph Steiner
the object loads, but it doesn't do anything yet svn path=/trunk/externals/hcs/hid/; revision=2141
2004-10-22started the process of organizing things for cross-platformness; sketched ↵Hans-Christoph Steiner
out MacOS X HID Manager implementation using SuperCollider3's SC_HID.cpp svn path=/trunk/externals/hcs/hid/; revision=2140
2004-10-20first functional first with new outlet formatHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2131
2004-10-18[hid] now outputs downcased event names from input.h and Makefile should ↵Hans-Christoph Steiner
work on MacOSX and GNU/Linux svn path=/trunk/externals/hcs/hid/; revision=2121
2004-10-18got the input event array goingsvn2git-rootHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2116