diff options
Diffstat (limited to 'man/XtSetKeyTranslator.man')
-rw-r--r-- | man/XtSetKeyTranslator.man | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/man/XtSetKeyTranslator.man b/man/XtSetKeyTranslator.man index 275aa3f..d29cba2 100644 --- a/man/XtSetKeyTranslator.man +++ b/man/XtSetKeyTranslator.man @@ -128,17 +128,17 @@ XtSetKeyTranslator, XtTranslateKeycode, XtRegisterCaseConverter, XtConvertCase \- convert KeySym to KeyCodes .SH SYNTAX .HP -void XtSetKeyTranslator(Display *\fIdisplay\fP, XtKeyProc \fIproc\fP); +void XtSetKeyTranslator(Display *\fIdisplay\fP, XtKeyProc \fIproc\fP); .HP void XtTranslateKeycode(Display *\fIdisplay\fP, KeyCode \fIkeycode\fP, Modifiers \fImodifiers\fP, Modifiers *\fImodifiers_return\fP, KeySym -*\fIkeysym_return\fP); +*\fIkeysym_return\fP); .HP void XtRegisterCaseConverter(Display *\fIdisplay\fP, XtCaseProc \fIproc\fP, -KeySym \fIstart\fP, KeySym \fIstop\fP); +KeySym \fIstart\fP, KeySym \fIstop\fP); .HP void XtConvertCase(Display *\fIdisplay\fP, KeySym \fIkeysym\fP, KeySym -*\fIlower_return\fP, KeySym *\fIupper_return\fP); +*\fIlower_return\fP, KeySym *\fIupper_return\fP); .SH ARGUMENTS .ds Di .IP \fIdisplay\fP 1i @@ -156,7 +156,7 @@ Returns the uppercase equivalent of the KeySym. .IP \fImodifiers\fP 1i Specifies the modifiers to the KeyCode. .IP \fImodifiers_return\fP 1i -Returns a mask that indicates the modifiers actually used +Returns a mask that indicates the modifiers actually used to generate the KeySym. .ds Pr \ to perform key translations or conversions .IP \fIproc\fP 1i @@ -169,28 +169,28 @@ Specifies the last KeySym for which this converter is valid. The .ZN XtSetKeyTranslator function sets the specified procedure as the current key translator. -The default translator is +The default translator is .ZN XtTranslateKey , an .ZN XtKeyProc that uses Shift and Lock modifiers with the interpretations defined by the core protocol. -It is provided so that new translators can call it to get default -KeyCode-to-KeySym translations and so that the default translator +It is provided so that new translators can call it to get default +KeyCode-to-KeySym translations and so that the default translator can be reinstalled. .LP The .ZN XtTranslateKeycode -function passes the specified arguments +function passes the specified arguments directly to the currently registered KeyCode to KeySym translator. .LP The .ZN XtRegisterCaseConverter registers the specified case converter. -The start and stop arguments provide the inclusive range of KeySyms +The start and stop arguments provide the inclusive range of KeySyms for which this converter is to be called. The new converter overrides any previous converters for KeySyms in that range. -No interface exists to remove converters; +No interface exists to remove converters; you need to register an identity converter. When a new converter is registered, the \*(xI refreshes the keyboard state if necessary. @@ -201,7 +201,7 @@ The .ZN XtConvertCase function calls the appropriate converter and returns the results. A user-supplied -.ZN XtKeyProc +.ZN XtKeyProc may need to use this function. .SH "SEE ALSO" .br |