[U-Boot] [PATCH 1/2] USB: Rework USB keyboard driver

Mike Frysinger vapier at gentoo.org
Sat Oct 8 21:05:59 CEST 2011


On Friday 07 October 2011 08:30:55 Marek Vasut wrote:
> +#define	LEFT_CNTR	(1 << 0)
> +#define	LEFT_SHIFT	(1 << 1)
> +#define	LEFT_ALT	(1 << 2)
> +#define	LEFT_GUI	(1 << 3)
> +#define	RIGHT_CNTR	(1 << 4)
> +#define	RIGHT_SHIFT	(1 << 5)
> +#define	RIGHT_ALT	(1 << 6)
> +#define	RIGHT_GUI	(1 << 7)
> +
> +/* Size of the keyboard buffer */
> +#define	USB_KBD_BUFFER_LEN	0x20
> +
> +/* Device name */
> +#define	DEVNAME			"usbkbd"

#define<space> not #define<tab>
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111008/01cb2818/attachment.pgp 


More information about the U-Boot mailing list