aboutsummaryrefslogtreecommitdiff
path: root/hid_linux.c
AgeCommit message (Collapse)Author
2008-08-27merged in relevant changes from the v0-40 pd-extended release branchHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=10266
2006-09-22fixed pointer bug that was preventing proper creation of the element array. ↵Hans-Christoph Steiner
Now it outputs data properly on Linux svn path=/trunk/externals/hcs/hid/; revision=5998
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-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-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-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-04-06wow! how did this object survive that long with event_names restricted to 7 ↵IOhannes m zmölnig
characters and simply ignoring this when writing to the memory? I exchanged (char hid_name[7]) by (t_symbol* hid_name), so now we can have event_names of arbitrary length without crashing. furthermore i prepend "key_" to Georg's key_names and made them static, so we don't have to do this each time we need one of them... svn path=/trunk/externals/hcs/hid/; revision=4823
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-11added barebones ff function to linux file so that it'll workHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3166
2005-05-20created header so that [linuxhid] can share codeHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3044
2005-04-28switched Linux to use common hid_output_event()Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2843
2005-04-03added keyboard support for linux (Georg Holzmann)Georg Holzmann
svn path=/trunk/externals/hcs/hid/; revision=2673
2004-11-28code cleanup and [print( msg implementationHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2333
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-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-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