aboutsummaryrefslogtreecommitdiff
path: root/hid_darwin.c
AgeCommit message (Collapse)Author
2009-01-27changed to GPL v3Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=10658
2006-12-20fixed sloppy global variable declarations so that things compile properly ↵Hans-Christoph Steiner
with full compiler optimizations svn path=/trunk/externals/hcs/hid/; revision=7038
2006-11-25turn off excess debug messages on Mac OS XHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=6429
2006-08-27got to get those pesky declarations all clearHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=5755
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-28compiles and works on GNU/Linux now, but needs to have the new open methods ↵Hans-Christoph Steiner
implemented svn path=/trunk/externals/hcs/hid/; revision=5146
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
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-10changed the 'menu' msg to 'options' to make things more transparentHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3161
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-04-28removed the timestamp from the outputHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2845
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-27quick kludge to add more event types for MacOS X, including a test version ↵Hans-Christoph Steiner
of keyboard support svn path=/trunk/externals/hcs/hid/; revision=2324
2004-11-16[joystick] is now fully functional on MacOS XHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2282
2004-11-15prepping for release, fixed a couple very minor bugsHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2276
2004-11-15converted button codes to a numbered scheme; added [buttongate]Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2275
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-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-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