Re: [PATCH 2.6.20-rc5] USB HID: proper LED-mapping (support for SpaceNavigator)

From: Simon Budig
Date: Mon Jan 15 2007 - 12:34:51 EST


From: Simon Budig <simon@xxxxxxxx>

This trivial change adds some missing enum values to the hid-debug output.

Signed-off-by: Simon Budig <simon@xxxxxxxx>


--- linux/include/linux/hid-debug.h.orig 2007-01-15 18:19:52.000000000 +0100
+++ linux/include/linux/hid-debug.h 2007-01-15 18:21:44.000000000 +0100
@@ -700,9 +700,10 @@ static char *keys[KEY_MAX + 1] = {

static char *relatives[REL_MAX + 1] = {
[REL_X] = "X", [REL_Y] = "Y",
- [REL_Z] = "Z", [REL_HWHEEL] = "HWheel",
- [REL_DIAL] = "Dial", [REL_WHEEL] = "Wheel",
- [REL_MISC] = "Misc",
+ [REL_Z] = "Z", [REL_RX] = "Rx",
+ [REL_RY] = "Ry", [REL_RZ] = "Rz",
+ [REL_HWHEEL] = "HWheel", [REL_DIAL] = "Dial",
+ [REL_WHEEL] = "Wheel", [REL_MISC] = "Misc",
};

static char *absolutes[ABS_MAX + 1] = {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/