aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-17merged relevant changes from Pd-extended 0.42backups/externals/hcs/hid@14359Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=14153
2010-04-19make [hid] into a libdir-ish folder like earplug~ and freeverb~, and make ↵Hans-Christoph Steiner
sure hid-help.pd gets installed svn path=/trunk/externals/hcs/hid/; revision=13454
2009-04-18switched device-specific objects to use the device-specific 'open mouse' and ↵Hans-Christoph Steiner
'open joystick' messages svn path=/trunk/externals/hcs/hid/; revision=11052
2009-04-18fixed crasher bug with mouse-help patch and made [mouse] use the [open mouse ↵Hans-Christoph Steiner
( message for [hid] svn path=/trunk/externals/hcs/hid/; revision=11051
2009-04-18purged broken link for all_about_hid_mappingHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=11050
2009-01-27changed to GPL v3Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=10658
2008-08-27merged in relevant changes from the v0-40 pd-extended release branchHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=10266
2008-06-19removed the svn:executable bit for code, patches and textIOhannes m zmölnig
svn path=/trunk/externals/hcs/hid/; revision=10048
2008-05-04cleaned up patch to make it more presentableHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=9758
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-12-04fixed Apple's sloppy use of case in #includes (from patch 1608063 submitted ↵Hans-Christoph Steiner
by kunowoudt) svn path=/trunk/externals/hcs/hid/; revision=6605
2006-11-25turn off excess debug messages on Mac OS XHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=6429
2006-11-25updated to work with current Pd-extendedHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=6428
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-09-22[linuxhid] is now an obsolete idea, so delete this cruftHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=5997
2006-08-27got to get those pesky declarations all clearHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=5755
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-07-09added note about deprecated makefileHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=5364
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
2006-05-26thought I'd check in a working(?) version of this makefile before I wipe it ↵Hans-Christoph Steiner
and use externals/Makefile svn path=/trunk/externals/hcs/hid/; revision=5137
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-04-06only include Makefile.buildlayout if it is available; this allows us to ↵IOhannes m zmölnig
build hid even if you don't have everything checked out with something like: "OS_NAME=linux make all" svn path=/trunk/externals/hcs/hid/; revision=4822
2006-03-17 changed [pddp] object tp [pddp( message to disable the [pddp] object, which ↵Hans-Christoph Steiner
causes crashes svn path=/trunk/externals/hcs/hid/; revision=4725
2006-03-17I think it was cleaned up a bit, but I made the changes so long ago, I forgotHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=4724
2006-02-06added input_arrays.? files which are generated from ↵Hans-Christoph Steiner
./make-arrays-from-input.h.pl since it makes building [hid] so much easier svn path=/trunk/externals/hcs/hid/; revision=4558
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
2006-01-24SYN_MAX is not set in linux/input.h and there are only two event codes ↵Hans-Christoph Steiner
listed. But the kernel actually puts out a lot of different SYN events. So this script now generates a ev_syn array with 512 init'ed items in the array. That should stop the sigfaults, but it might be a hack svn path=/trunk/externals/hcs/hid/; revision=4479
2005-12-19got the basic sketch working, but now I have to figure out the hid.dll ↵Hans-Christoph Steiner
nameclash issue... arg svn path=/trunk/externals/hcs/hid/; revision=4258
2005-06-27made 0.6 releaseHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3250
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-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-10preliminary sketch for making [mouse] output 0,0 when no activity. the OSHans-Christoph Steiner
delivers no data when the mouse isn't moving, this makes it very difficult to use the relative axes data as a controller since the last value would be the last time the mouse moved, so the parameter being controlled by a relative axis will stick at the last value when the mouse is still. svn path=/trunk/externals/hcs/hid/; revision=3163
2005-06-10removed dylib project since [hid] is linked statically for simplicity's sakeHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3162
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-10got things compiling with ImmrHIDUtilAddOn; looks like there is a newer ↵Hans-Christoph Steiner
version of HID Utilities which Apple hasn't released yet. The ones in FFB must be part of that newer version since they don't match version 3.7 svn path=/trunk/externals/hcs/hid/; revision=3160
2005-06-10This commit was generated by cvs2svn to compensate for changes in r3157,Hans-Christoph Steiner
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/hcs/hid/; revision=3158
2005-06-09changed optimization settingsHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3156
2005-06-09This commit was generated by cvs2svn to compensate for changes in r3153,Hans-Christoph Steiner
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/hcs/hid/; revision=3154
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=3112