On Tue, 2012-10-02 at 15:20 +0200, Olivier Fourdan wrote:
> Hi all,
> 
> While reviewing the libwacom API, I realized that 
> libwacom_is_builtin() could be misleading:
> 
>    /**
>     * @param device The tablet to query
>     * @return non-zero if the device is built-in or zero if the device 
> is an
>     * external tablet
>     */
>    int libwacom_is_builtin(WacomDevice *device);
> 
>  From the description, I would expect built-in tablets (such as the 
> one used for Tablet PC) to have that set to true, and all other 
> external tablet to have that property set to false.
> 
> Actually, what libwacom_is_builtin() means is that the tablet is a 
> screen tablet, so all Cintiq have that property set to true, even 
> though these are actually external tablets.

Built-in means that the tablet is built into the screen. Feel free to
change the documentation if it's not clear.

Cheers


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to