aboutsummaryrefslogtreecommitdiff
path: root/hid.h
AgeCommit message (Collapse)Author
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-28On Mac OSX, replaced hid_get_device_by_number() by a global array of ↵Hans-Christoph Steiner
pointers, it should reduce the CPU load noticably. next I need to handle elements independently svn path=/trunk/externals/hcs/hid/; revision=5147
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-27made 0.6 releaseHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3250
2005-06-11- imported linux/input.h from linux kernel source 2.6.11.11Hans-Christoph Steiner
- now input_arrays have fake names instead of NULL to prevent segfaults svn path=/trunk/externals/hcs/hid/; revision=3165
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-04-28switched Linux to use common hid_output_event()Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2843
2005-03-03unconnected error msg injoystick to stop flood of msgs; bumped version number upHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2596
2004-11-28getting ready for release 0.4Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2334
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-15converted button codes to a numbered scheme; added [buttongate]Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2275
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