XAllowDeviceEvents(3X11) | X FUNCTIONS | XAllowDeviceEvents(3X11) |
̾??¶
XAllowDeviceEvents - ???塼?????äƤ??륤?٥??Ȥ?????????
????¶
XAllowDeviceEvents(display, device,
event_mode, time)
Display *display;
XDevice *device;
int event_mode;
Time time;
??????¶
- display
- X ?????Фؤ???³?????ꡣ
- device
- ???٥??Ȥμ????????Ĥ??????ǥХ????????ꡣ
- event_mode
- ???٥??ȤΥ⡼?ɤ????ꡣ AsyncThisDevice, SyncThisDevice, ReplayThisDevice, AsyncOtherDevices, SyncAll, AsyncAll ?Τ????줫?????ꤹ?롣
- time
- ?????????ꡣ ?????ॹ?????פ? CurrentTime ?????ꤹ?롣
????¶
?ؿ? XAllowDeviceEvents ?ϡ????饤?????Ȥ??ǥХ????????뤷?Ƥ??????硢???塼?????äƤ??륤?٥? ?Ȥ????????롣 ???ꤵ?줿?????????⥯?饤?????ȤȥǥХ????ˤĤ??ƤκǤ??Ƕ??Υ????ƥ? ?֤ʥ????֤κǽ??????ֻ????????ᤤ?????䡢X ?????Фθ????????????٤? ?????ˤϡ????δؿ???̵???Ǥ??롣
?ʲ??Ǥϡ??????? event_mode ???Ϥ????????ˤ??äƷ??ޤ??ؿ???ư???ˤĤ??? ?Ҥ٤롣
-
AsyncThisDevice - ???饤?????Ȥ??ǥХ????????뤷?Ƥ??????硢???ΥǥХ????ˤĤ??ƤΥ??٥? ?Ƚ??????̾??̤???³?????롣?ǥХ?????ʣ?????̡??Υ????֤Τ?????ʣ???? ???뤵???Ƥ????????ϡ?AsyncThisDevice ?????Ƥ??????????????롣 ???饤?????Ȥ????ꤷ???ǥХ????????뤷?Ƥ??ʤ????硢 AsyncThisDevice ??̵???Ǥ??뤬?????饤?????Ȥ??ǥХ??????֤? ?Ƥ???ɬ?פϤʤ???
- SyncThisDevice
- ???饤?????Ȥ????ꤷ???ǥХ????????뤷???????ƥ??֤˥????֤??Ƥ??????硢 ???ΥǥХ??????Ф??륤?٥??Ƚ????ϡ????Υ??????٥??Ȥ??ܥ??٥??Ȥ? ???饤?????Ȥ????Τ??????ޤ??̾??̤?³???????ΤȤ??????ꤷ???ǥХ????? ?Ƥ????뤵?줿?褦?˸????롣???????????Τ??줿???٥??Ȥϥ????֤????????? ???ꤷ???ǥХ????????뤵???ʤ???SyncThisDevice ?ϡ????ꤵ?줿?? ?Х????????饤?????Ȥ????뤵???Ƥ??ʤ??????䡢???饤?????Ȥ˥????֤??? ?Ƥ??ʤ???????̵???Ǥ??롣
- ReplayThisDevice
- ???ꤵ?줿?ǥХ????????饤?????Ȥ˥????ƥ??֤˥????֤??졢???饤?????? ???????줿???٥??Ȥη??̤Ȥ??????뤵???Ƥ???????(?????? GrabDeviceButton ?Υ????ƥ??ֲ??? SyncThisDevice ?⡼?ɤ? ???? AllowDeviceEvents ????????GrabDevice ?Ǥ??????ʤ?)???????֤ϲ??? ???졢???Υ??٥??Ȥ????ƺƽ????????롣?????????ξ??硢?ꥯ?????Ȥϲ??? ???줿?Ф????Υ????֤Υ????֥??????ɥ????????ξ?(?롼?ȥ??????ɥ??˸? ????????)?Υ??????ɥ??????ƤΥѥå??֤ʥ????֤?̵?뤹?롣???ꤷ???ǥ? ?????????饤?????Ȥ˥????֤????Ƥ??ʤ????礫?????٥??Ȥη??̤Ȥ??????? ?????Ƥ??ʤ??????ˤϡ??ꥯ?????Ȥ?̵???Ǥ??롣
- AsyncOtherDevices
- ?Ĥ??ΥǥХ????????饤?????Ȥ????뤵???Ƥ??????硢?????????Ф??륤?٥? ?Ƚ??????̾??̤?³???????롣¾?ΥǥХ?????ʣ???Υ????֤Τ????˥??饤?? ???Ȥ?ʣ???????뤵???Ƥ??????硢AsyncOtherDevices ?Ϥ????????Ƥ? ???????ֲ????פ??롣???饤?????Ȥ??ǥХ????????뤷?Ƥ??ʤ????硢 AsyncOtherDevices ??̵???Ǥ??롣
- SyncAll
- ???饤?????Ȥ????ƤΥǥХ????????뤷?Ƥ??????硢(???ƤΥǥХ????ˤĤ? ?Ƥ?)???٥??Ƚ????ϡ??????֤??줿?ǥХ????ؤμ??Υܥ??٥??Ȥ????? ???٥??Ȥ????饤?????Ȥ????Τ??????ޤǤ??̾??̤???³???롣???λ??????? ?ΥǥХ????ϺƤ????뤵???Ƥ????褦?˸????롣 ???????????Τ??줿???٥??Ȥ??????֤??????????ʤ??С??ǥХ????????뤵?? ?ʤ????ޤ??????֤????Ƥ????ǥХ??????????С????????Ф??????Υ??٥??Ȥ? ???ƤΥǥХ????????뤵???롣???ƤΥǥХ????????饤?????Ȥ????뤵???Ƥ? ?ʤ??¤ꡢSyncAll ??̵???Ǥ??롣ʣ?????̡??Υ????֤Τ????˥??饤 ?????Ȥ?2?????뤵?줿???硢SyncAll ??ξ?????????????????롣???? ??³?? SyncAll ???Ф????????ϡ????줾???ΥǥХ?????1?٤??????뤹 ?롣
- AsyncAll
- ???ƤΥǥХ????????饤?????Ȥˤ??ä????뤵???Ƥ??????硢???ƤΥ??٥??? ???????̾??̤???³?????롣ʣ???ΰۤʤ륰???֤Τ????˥??饤?????Ȥ?ʣ?? ???ǥХ????????뤷?????硢AsyncAll ?????Ƥ??????????????롣???? ?ΥǥХ????????饤?????Ȥˤ??ä????뤵???Ƥ??ʤ??¤ꡢAsyncAll ??̵???Ǥ??롣
AsyncThisDevice, SyncThisDevice, ReplayThisDevice ?ϡ??Ĥ??ΥǥХ??????????????ä????٥??Ȥν????ˤĤ??Ƥϱƶ????ڤܤ??? ???? AsyncOtherDevices ?ϻ??ꤷ???ǥХ??????????????ä????٥??Ȥν??? ?ˤϱƶ????ڤܤ??ʤ??? event_mode ?? SyncAll ???뤤?? AsyncAll ?ʤ??С??ǥХ????Υѥ??????̵?뤵???롣
1?Ĥ??뤤??ʣ???Υ??饤?????Ȥϡ??????Ĥ??ΰۤʤ??ǥХ????Υ????֤?Ʊ ???˥????ƥ??֤ˤ??뤳?Ȥ??Ǥ??롣?ǥХ??????ʤ??餫?Υ????֤Τ??????? ?뤵?줿???硢???ΥǥХ??????Ф??륤?٥??Ƚ??????????Ԥ????ʤ??? ʣ???Υ????֤ˤ??ä?ñ???ΥǥХ????????뤹?뤳?Ȥ??Ǥ??롣 ???ξ??硢???٥??Ȥ??Ƥӽ????Ǥ????褦?ˤʤ????ˡ??ƥ????֤Τ????????? ???????????ʤ????Фʤ??ʤ???
XAllowDeviceEvents ?ϥ??顼 BadDevice, BadValue ???????Ȥ????롣
?֤???¶
??Ϣ????¶
XGrabDevice(3X11)
Programming With Xlib
Release 6.5 | X Version 11 |