diff options
Diffstat (limited to 'doc/Xinput.xml')
-rw-r--r-- | doc/Xinput.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Xinput.xml b/doc/Xinput.xml index 7f576a135..6f86752a5 100644 --- a/doc/Xinput.xml +++ b/doc/Xinput.xml @@ -1078,7 +1078,7 @@ The following code fragment shows how the two wire events could be initialized: deviceKeyButtonPointer *xev = (deviceKeyButtonPointer *) xE; deviceValuator *xv; - xev->type = DeviceKeyPress; /* defined by input extension */ + xev->type = DeviceKeyPress; /* defined by input extension */ xev->detail = keycode; /* key pressed on this device */ xev->time = timestamp; /* same as for core events */ xev->rootX = pointerx; /* x location of core pointer */ @@ -1093,7 +1093,7 @@ The following code fragment shows how the two wire events could be initialized: /* */ /******************************************************************/ - xev->deviceid = dev->id | MORE_EVENTS; /* sending more than 1*/ + xev->deviceid = dev->id | MORE_EVENTS; /* sending more than 1 */ /******************************************************************/ /* Fields in the second 32-byte wire event: */ @@ -1152,7 +1152,7 @@ The following code fragment shows how the two wire events could be initialized: /* */ /******************************************************************/ - xev->deviceid = dev->id | MORE_EVENTS; /* sending more than 1*/ + xev->deviceid = dev->id | MORE_EVENTS; /* sending more than 1 */ /******************************************************************/ /* Fields in the second 32-byte wire event: */ |