XLookupKeysym(3X11) | XLIB FUNCTIONS | XLookupKeysym(3X11) |
̾??¶
XLookupKeysym, XRefreshKeyboardMapping, XLookupString, XRebindKeySym - Latin-1 ?Υ????ܡ??????ϥ??٥??Ȥν???
????¶
KeySym XLookupKeysym(key_event, index)
XKeyEvent *key_event;
int index;
XRefreshKeyboardMapping(event_map)
XMappingEvent *event_map;
int XLookupString(event_struct, buffer_return,
bytes_buffer, keysym_return, status_in_out)
XKeyEvent *event_struct;
char *buffer_return;
int bytes_buffer;
KeySym *keysym_return;
XComposeStatus *status_in_out;
XRebindKeysym(display, keysym, list,
mod_count, string, num_bytes)
Display *display;
KeySym keysym;
KeySym list[];
int mod_count;
unsigned char *string;
int num_bytes;
??????¶
- buffer_return
- ?ȥ??졼?Ȥ??줿ʸ?????֤????롣
- bytes_buffer
- ?Хåե????礭???????ꤹ?롣 ?ȥ??졼???????η??̤??֤????롣 bytes_buffer ???ۤ???ʬ???֤????ʤ???
- num_bytes
- ?????? string ?ΥХ??ȿ??????ꤹ?롣
- display
- X ?????Фؤ???³?????ꤹ?롣
- event_map
- ???Ѥ????ޥåԥ??٥??Ȥ????ꤹ?롣
- event_struct
- ???Ѥ??륭?????٥??ȹ?¤?Τ????ꤹ?롣 XKeyPressedEvent ?ޤ??? XKeyReleasedEvent ???????Ǥ??롣
- index
- ???٥??Ȥ? KeyCode ???? KeySym ??Ĵ?٤뤿???Υꥹ?Ȥ??????ǥå????????ꤹ?롣
- key_event
- KeyPress ???٥??Ȥ? KeyRelease ???٥??Ȥ????ꤹ?롣
- keysym
- ?ƥХ????ɤ????? KeySym ?????ꤹ?롣
- keysym_return
- ???ΰ??????? NULL ?Ǥʤ????С????٥??Ȥ?????? KeySym ???֤????롣
- list
- ???ǥ??ե??????Ȥ??ƻȤ? KeySym ?Υꥹ?Ȥ????ꤹ?롣
- mod_count
- ???ǥ??ե??????Υꥹ?????Υ??ǥ??ե??????ο??????ꤹ?롣
- status_in_out
- XComposeStatus ??¤?Τ? NULL ?????ꤹ?롣 ?ޤ??Ϥ????餬?֤????롣
- string
- XLookupString ?˥??ԡ????졢?֤?????ʸ?????????ꤹ?롣
????¶
?ؿ? XLookupKeysym ?ϡ????ꤵ?줿?????ܡ??ɥ??٥??Ȥȥ桼???????ꤷ???????ǥå??????Ȥäơ? ?ꥹ?Ȥ????????Ф??? KeySym ???֤??????? KeySym ?ϡ? XKeyPressedEvent ??¤?Τ? XKeyReleasedEvent ??¤?Τ? keycode ?????Ф??б????롣 ???٥??Ȥ? KeyCode ???Ф??? KeySym ???????????Ƥ??ʤ????С? XLookupKeysym ?? NoSymbol ???֤???
?ؿ? XRefreshKeyboardMapping ?ϡ???Ǽ?????Ƥ??????ǥ??ե??????ȥ????ޥåפξ????????롣 ?̾盧?δؿ????ƤӽФ??????Τ? MappingNotify ???٥??Ȥ?ȯ?????ơ????? request ?????Ф? MappingKeyboard ?? MappingModifier ???ä??Ȥ??Ǥ??롣 ?ؿ????ƤӽФ??????̡?Xlib ?Υ????ܡ??ɤξ??????????롣
XLookupString ?ϥ??????٥??Ȥ? KeySym ??ʸ?????˥ȥ??졼?Ȥ??롣 KeySym ?? X ?ץ??ȥ??????ͤ??????????Ƥ??? Shift, Lock, ???롼?ס?numlock ???ǥ??ե???????ɸ???β??????ȤäƼ??????롣 KeySym ???ƥХ????ɤ????Ƥ???????( XRebindKeysym ??)???Х????ɤ????Ƥ???ʸ???Хåե??˳?Ǽ?????롣 ?????Ǥʤ????硢??ǽ?Ǥ????? KeySym ?? ISO Latin-1 ʸ???? (Control ?? ?ǥ??ե???????ͭ???Ǥ?????) ACSII ????ʸ???˥ޥåפ??졢????ʸ?????Х? ?ե??˳?Ǽ?????롣 XLookupString ?ϥХåե??˳?Ǽ????ʸ???????֤???
?⤷ XComposeStatus ??¤?Τ?¸?ߤ??Ƥ?????(NULL?Ǥʤ?????)?? ???ι?¤?Τˤ??Ȥ?Ω?ƽ??????Ԥ????뤿???? XLookupString ?θƤӽФ??δ֤???¸??ɬ?פʾ??֤???Ͽ?????롣 ???ξ??֤? Xlib ?Υץ饤?١??Ȥʤ??ΤǤ??롣 XComposeStatus ???????ϼ?????¸?Ǥ??롣 ?ܿ?????ɬ?פȤ????ץ????????Ǥϡ????ΰ??????? NULL ???Ϥ??٤??Ǥ??롣
?ؿ? XRebindKeysym ???Ȥ??ȥ??饤?????ȤˤȤäƤ? KeySym ?ΰ?̣???ƥХ????ɤǤ??롣 ???δؿ??? X ?????ФΥ????????????????ΤǤϤʤ???ñ??Ĺ??ʸ?????? ?˳??????Ƥ???ñ????ˡ?????????ΤǤ??롣 XLookupString ??Ŭ?ڤ??ȹ礻?Υ??ǥ??ե????????????????줿???ȡ?KeySym ???ȥ??졼?????? ???Ф????Ѥ????줿???ˤ???ʸ???????֤??? ?ƥ??????Ѵ??ϹԤ????ʤ??? Ŭ?ڤ˥????ɤ???ʸ??????Ϳ?????Τϥ??饤?????Ȥ???Ǥ?Ǥ??롣 ¸?ߤ??ʤ? KeySym ?ˤ??ƥХ????ɤ??Ǥ??????????դ??뤳?ȡ?
??Ϣ????¶
XButtonEvent(3X11), XMapEvent(3X11), XStringToKeysym(3X11)
Xlib - C Language X Interface
Release 6.5 | X Version 11 |