From 2f90ef564c3c287f38d6c86e98024cbeb9c1075c Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 30 May 2004 02:05:15 +0000 Subject: added default device for when obj is specified without arguments svn path=/trunk/externals/hcs/; revision=1789 --- linuxevent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linuxevent.c b/linuxevent.c index 1ea0305..40fa40c 100644 --- a/linuxevent.c +++ b/linuxevent.c @@ -2,7 +2,7 @@ #define LINUXEVENT_DEVICE "/dev/input/event0" -static char *version = "$Revision: 1.7 $"; +static char *version = "$Revision: 1.8 $"; /*------------------------------------------------------------------------------ * CLASS DEF @@ -236,6 +236,7 @@ static void *linuxevent_new(t_symbol *s) { x->x_read_ok = 1; x->x_started = 0; x->x_delay = DEFAULT_DELAY; + x->x_devname = gensym(LINUXEVENT_DEVICE); x->x_clock = clock_new(x, (t_method)linuxevent_read); -- cgit v1.2.1