Commit aa93321c authored by Sameer Wadgaonkar's avatar Sameer Wadgaonkar Committed by Greg Kroah-Hartman

staging: unisys: visorinput: ultrainputreport.h: fixed comment formatting issues

Removed comments from the right side of the lines.
Signed-off-by: default avatarSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c58bc0d
...@@ -20,44 +20,35 @@ ...@@ -20,44 +20,35 @@
/* These defines identify mouse and keyboard activity which is specified by the /* These defines identify mouse and keyboard activity which is specified by the
* firmware to the host using the cmsimpleinput protocol. @ingroup coretypes * firmware to the host using the cmsimpleinput protocol. @ingroup coretypes
*/ */
#define INPUTACTION_XY_MOTION 1 /* only motion; arg1=x, arg2=y */ /* only motion; arg1=x, arg2=y */
#define INPUTACTION_MOUSE_BUTTON_DOWN 2 /* arg1: 1=left,2=center,3=right */ #define INPUTACTION_XY_MOTION 1
#define INPUTACTION_MOUSE_BUTTON_UP 3 /* arg1: 1=left,2=center,3=right */ /* arg1: 1=left,2=center,3=right */
#define INPUTACTION_MOUSE_BUTTON_CLICK 4 /* arg1: 1=left,2=center,3=right */ #define INPUTACTION_MOUSE_BUTTON_DOWN 2
#define INPUTACTION_MOUSE_BUTTON_DCLICK 5 /* arg1: 1=left,2=center, /* arg1: 1=left,2=center,3=right */
* 3=right #define INPUTACTION_MOUSE_BUTTON_UP 3
*/ /* arg1: 1=left,2=center,3=right */
#define INPUTACTION_WHEEL_ROTATE_AWAY 6 /* arg1: wheel rotation away from #define INPUTACTION_MOUSE_BUTTON_CLICK 4
* user /* arg1: 1=left,2=center 3=right */
*/ #define INPUTACTION_MOUSE_BUTTON_DCLICK 5
#define INPUTACTION_WHEEL_ROTATE_TOWARD 7 /* arg1: wheel rotation toward /* arg1: wheel rotation away from user */
* user #define INPUTACTION_WHEEL_ROTATE_AWAY 6
*/ /* arg1: wheel rotation toward user */
#define INPUTACTION_KEY_DOWN 64 /* arg1: scancode, as follows: #define INPUTACTION_WHEEL_ROTATE_TOWARD 7
* If arg1 <= 0xff, it's a 1-byte /* arg1: scancode, as follows: If arg1 <= 0xff, it's a 1-byte scancode and arg1
* scancode and arg1 is that scancode. * is that scancode. If arg1 > 0xff, it's a 2-byte scanecode, with the 1st
* If arg1 > 0xff, it's a 2-byte * byte in the low 8 bits, and the 2nd byte in the high 8 bits.
* scanecode, with the 1st byte in the * E.g., the right ALT key would appear as x'38e0'.
* low 8 bits, and the 2nd byte in the */
* high 8 bits. E.g., the right ALT key #define INPUTACTION_KEY_DOWN 64
* would appear as x'38e0'. /* arg1: scancode (in same format as inputaction_keyDown) */
*/ #define INPUTACTION_KEY_UP 65
#define INPUTACTION_KEY_UP 65 /* arg1: scancode (in same format as /* arg1: scancode (in same format as inputaction_keyDown); MUST refer to one of
* inputaction_keyDown) * the locking keys, like capslock, numlock, or scrolllock.
*/ * arg2: 1 iff locking key should be in the LOCKED position (e.g., light is ON)
*/
#define INPUTACTION_SET_LOCKING_KEY_STATE 66 #define INPUTACTION_SET_LOCKING_KEY_STATE 66
/* arg1: scancode (in same format /* arg1: scancode (in same format as inputaction_keyDown */
* as inputaction_keyDown); #define INPUTACTION_KEY_DOWN_UP 67
* MUST refer to one of the
* locking keys, like capslock,
* numlock, or scrolllock
* arg2: 1 iff locking key should be
* in the LOCKED position
* (e.g., light is ON)
*/
#define INPUTACTION_KEY_DOWN_UP 67 /* arg1: scancode (in same format
* as inputaction_keyDown)
*/
struct visor_inputactivity { struct visor_inputactivity {
u16 action; u16 action;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment