aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-25changed make stuff to reflect that the *-help.pd files were moved to doc/ in ↵Hans-Christoph Steiner
the CVS repository svn path=/trunk/externals/hcs/hid/; revision=3088
2005-05-25created object to calculate a vector based on dx/dy input; switched ↵Hans-Christoph Steiner
[hid_polar] to use this object as its core logic svn path=/trunk/externals/hcs/hid/; revision=3087
2005-05-24got [hid_graph] fully functional; added helpfiles for all curve objectsHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3075
2005-05-21added and updated commentsHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3047
2005-05-20created header so that [linuxhid] can share codeHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3044
2005-05-20updated math to generate proper curvesHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3043
2005-05-20updated help files and objects for smoothing, average, and lowpoassHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3042
2005-05-20the object now resets the output to zero when data isn't detected within 50 msHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3041
2005-05-20got rid of some minor warningsHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=3040
2005-04-28removed the timestamp from the outputHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2845
2005-04-28added input range limitingHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2844
2005-04-28switched Linux to use common hid_output_event()Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2843
2005-04-28whipped out a 1-to-4 mapping object...Hans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2842
2005-04-26added input range limitingHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2822
2005-04-26added copyleft and cleaned up to look goodHans-Christoph Steiner
svn path=/trunk/externals/hcs/hid/; revision=2821
2005-04-26added pddp_open patch to open all_about_ patches without them being ↵Hans-Christoph Steiner
abstractions embedded in the help files svn path=/trunk/externals/hcs/hid/; revision=2817
2005-04-13- created a suite of hid objects for using polar coordinates and convertingHans-Christoph Steiner
between the range of 0-1 and degrees/radians. - made two joystick/polar examples - added some pretty colors to help patches svn path=/trunk/externals/hcs/hid/; revision=2754