Scroll to navigation

XSetPointerMapping(3X11) XLIB FUNCTIONS XSetPointerMapping(3X11)

̾??

XSetPointerMapping, XGetPointerMapping - ?ݥ??󥿤????????????

????

int XSetPointerMapping(display, map, nmap)
Display *display;
unsigned char map[];
int nmap;

int XGetPointerMapping(display, map_return, nmap)
Display *display;
unsigned char map_return[];
int nmap;

??????

X ?????Фؤ???³?????ꤹ?롣
?ޥåԥ󥰤Υꥹ?Ȥ????ꤹ?롣
?ޥåԥ󥰤Υꥹ?Ȥ??֤????롣
?ޥåԥ󥰤Υꥹ?Ȥ˴ޤޤ??????ǿ??????ꤹ?롣

????

?ؿ? XSetPointerMapping ?ϥݥ??󥿤Υޥåԥ󥰤????ꤹ?롣 ?????????????ˤ? X ?????Ф? MappingNotify ???٥??Ȥ????????? XSetPointerMapping ?? MappingSuccess ???֤??? ???? map[i] ??ʪ???ܥ??? i+1 ???Ф???????Ū?ʥܥ????ֹ??????????롣 ?ꥹ?Ȥ?Ĺ???? XGetPointerMapping ???֤??ͤ?Ʊ???Ǥʤ????Фʤ??ʤ????????Ǥʤ??????ˤϡ????顼 BadValue ?Ȥʤ롣 ???Ǥ??ͤ? 0 ?ʤ??Хܥ????ϻȤ??ʤ??ʤ롣???Ǥ??ͤ?ʪ??Ū?ʥܥ??????? ?????¤????ʤ??? ????????2 ?Ĥ????Ǥ? 0 ?Ǥʤ?Ʊ???ͤ????Ĥ??ȤϤǤ??ʤ???Ʊ???ͤˤʤ? ???????ˤ? BadValue ???顼?Ȥʤ롣 ???????Ѥ??褦?Ȥ??Ƥ????ܥ????Τ????줫??????Ū?˲????줿???֤ˤ??ä????硢 XSetPointerMapping ?? MappingBusy ???֤????ޥåԥ󥰤??Ѳ????ʤ???

XSetPointerMapping ?ϥ??顼 BadValue ?򵯤??????Ȥ????롣

?ؿ? XGetPointerMapping ?ϥݥ??󥿤θ??ߤΥޥåԥ󥰤??֤??? ?ݥ??󥿤Υܥ????ˤ? 1 ?????Ϥޤ??ֹ椬?դ??????롣 XGetPointerMapping ?ϥݥ??󥿤˼ºݤ??դ??Ƥ???ʪ??Ū?ʥܥ????ο????֤??? ?ݥ??󥿤??Ф???̾??Ū?ʥޥåԥ󥰤? map[i]=i+1 ?Ǥ??롣 ?????? nmap ?ϥݥ??󥿤Υޥåԥ󥰤??֤???????????Ĺ???????ꤹ?롣 ?ǽ??? nmap ?Ĥ????Ǥ????? map_return ???֤????롣

?֤???

???ꤵ?줿???ͤ????˥ꥯ?????Ȥε????ϰϤ??ۤ??Ƥ??????Τ????롣?????????? ???????????ϰϤ????ꤵ???Ƥ??ʤ????С????????η????????????Ƥ??????Ƥ??? ?Ϥ????????롣???????Ȥ????????????Ƥ??????????Ϥ??Υ??顼?򵯤??????Ȥ? ???롣

??Ϣ????

XChangeKeyboardControl(3X11), XChangeKeyboardMapping(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11