XChangeKeyboardDevice(3X11) | X FUNCTIONS | XChangeKeyboardDevice(3X11) |
̾??¶
XChangeKeyboardDevice - X ?Υ????ܡ??ɤȤ??ƻȤ??ǥХ??????ѹ?????
????¶
Status XChangeKeyboardDevice(display, device)
Display *display;
XDevice *device;
??????¶
????¶
XChangeKeyboardDevice ?ꥯ?????Ȥϡ????ꤷ???ǥХ????? X ?????? ?˥????ܡ??ɤȤ??ƻȤ碌?롣?ǥХ????ϥ??饤?????Ȥˤ??ä?ͽ?? XOpenDevice ?ǥ????ץ??Ƥ??ʤ????Фʤ餺???????Ǥʤ??????ˤ? ???顼 BadDevice ?Ȥʤ롣 ?ǥХ????????ϥ??饹 Keys ?ݡ??Ȥ??Ƥ??ʤ????Фʤ??ʤ??????ݡ? ?Ȥ??Ƥ??ʤ??????ˤϥ??顼 BadMatch ?Ȥʤ롣?????Фμ????????ꤷ ???ǥХ????? X ?Υ????ܡ??ɤȤ??Ƥ????Ѥݡ??Ȥ??Ƥ??ʤ????硢???顼 BadDevice ?Ȥʤ롣
???ꤷ???ǥХ?????¾?Υ??饤?????Ȥˤ??äƥ????֤????Ƥ????????? AlreadyGrabbed ???֤????롣???ꤷ???ǥХ?????¾?Υ??饤?????Ȥ? ?????֤ˤ??ä????뤵???Ƥ????????ϡ?GrabFrozen ???֤????롣 ?ꥯ?????Ȥ??????????????ϡ?Success ???֤????롣
?ꥯ?????Ȥ????????????硢ChangeDeviceNotify ?????Υ??٥??Ȥ??? ?Ƥ??????ƤΥ??饤?????Ȥ????????롣?ޤ??? request = MappingKeyboard ?Ǥ??? MappingNotify ???٥??Ȥ? ???ƤΥ??饤?????Ȥ????????롣 ???ꤷ???ǥХ????? X ?Υ????ܡ??ɤȤʤꡢ?????ޤ? X ?Υ????ܡ??ɤ??ä? ?ǥХ????ϡ????ϵ?ǽ??ĥ?ץ??ȥ????ꥯ?????Ȥ??̤??????ѤǤ????褦?ˤʤ롣
XChangeKeyboardDevice ?ϥ??顼 BadDevice ?ޤ??? BadMatch ???????Ȥ????롣
?֤???¶
- BadDevice
- ?????ʥǥХ????????ꤵ?줿?????ꤷ???ǥХ?????¸?ߤ??ʤ????????饤???? ?Ȥ? XOpenInputDevice ?ˤ??äƥ????ץ??Ƥ??ʤ????????? X ?? ?????ǥХ???(?ݥ????????ܡ???)??1?ĤǤ??롣???Υ??顼?ϥ????Фμ? ???????ꤷ???ǥХ????? X ?Υ????ܡ??ɤȤ??Ƥ????Ѥݡ??Ȥ??Ƥ??ʤ? ?????ˤⵯ???롣
- BadMatch
- ???Υ??顼?ϡ? XChangeKeyboardDevice ?ꥯ?????Ȥ????????????ʤ? ?ǥХ????????ꤷ?????˵????롣
??Ϣ????¶
XChangePointerDevice
Programming With Xlib
Release 6.5 | X Version 11 |