Re: [Linuxwacom-devel] [PATCH] lib: use kernel flags if available

2012-10-12 Thread Jason Gerecke
On Fri, Oct 12, 2012 at 2:41 AM, Olivier Fourdan ofour...@redhat.com wrote: Peter Hutterer said the following on 10/12/2012 06:37 AM: [...] + *builtin = (flag (direct_flag | pointer_flag) == direct_flag) + ? IS_BUILTIN_TRUE :

Re: [Linuxwacom-devel] [PATCH] lib: use kernel flags if available

2012-10-12 Thread Olivier Fourdan
Jason Gerecke said the following on 10/12/2012 06:43 PM: On Fri, Oct 12, 2012 at 2:41 AM, Olivier Fourdanofour...@redhat.com wrote: Peter Hutterer said the following on 10/12/2012 06:37 AM: [...] + *builtin = (flag (direct_flag | pointer_flag) == direct_flag) +

Re: [Linuxwacom-devel] [PATCH] lib: use kernel flags if available

2012-10-12 Thread Jason Gerecke
On Fri, Oct 12, 2012 at 10:52 AM, Olivier Fourdan ofour...@redhat.com wrote: Jason Gerecke said the following on 10/12/2012 06:43 PM: On Fri, Oct 12, 2012 at 2:41 AM, Olivier Fourdanofour...@redhat.com wrote: Peter Hutterer said the following on 10/12/2012 06:37 AM: [...] +

Re: [Linuxwacom-devel] [PATCH] lib: use kernel flags if available

2012-10-11 Thread Peter Hutterer
On Thu, Oct 11, 2012 at 10:37:45AM +0200, Olivier Fourdan wrote: As discussed on the mailing list, replace the cryptic hex values with bit shifts from linux/input.h (if available, adds a check to configure.ac for that as well). From 6083b1e619d35d98ba5339baeef50ffb1590a957 Mon Sep 17 00:00:00