Scroll to navigation

XGetFeedbackControl(3X11) X FUNCTIONS XGetFeedbackControl(3X11)

̾??

XGetFeedbackControl, XChangeFeedbackControl - ???ϥǥХ????Υե????ɥХå????䤤???碌???ѹ????Ԥʤ?

????

XFeedbackState * XGetFeedbackControl(display, device, num_feedbacks)
Display *display;
XDevice *device;
int *num_feedbacks;

int XChangeFeedbackControl(display, device, mask, control)
Display *display;
XDevice *device;
Mask mask;
XFeedbackControl *control;

??????

X ?????Фؤ???³?????ꤹ?롣
?ե????ɥХå????䤤???碌???ѹ????Ԥʤ??оݤȤʤ??ǥХ????????ꤹ?롣
?ǥХ????????ݡ??Ȥ??Ƥ????ե????ɥХå??ο????֤????륢?ɥ쥹?????ꤹ?롣
?ե????ɥХå??Υ????פ???ͭ?Ρ??ѹ????????ե????ɥХå??򼨤??ޥ????? ???ꤹ?롣
?ե????ɥХå??ο??????ͤ????ꤵ???? XFeedbackControl ??¤?Τ? ???ɥ쥹?????ꤹ?롣

????

???????Υꥯ?????Ȥϡ??ե????ɥХå??򥵥ݡ??Ȥ??Ƥ????ǥХ??????????? ?󶡤??롣?׵ᤵ?줿?ǥХ??????ե????ɥХå??򥵥ݡ??Ȥ??Ƥ??ʤ??????ϡ? ???顼 BadMatch ???????????롣Ϳ?????줿?ǥХ????Υե????ɥХå? ?Υ??ݡ??Ȥ?̵ͭ?ϡ?XOpenDevice ?ꥯ?????Ȥ??֤??????ˤ??ä?Ƚ?? ?Ǥ??롣?ե????ɥХå??򥵥ݡ??Ȥ??Ƥ????ǥХ??????Ф??Ƥϡ? XOpenDevice ?? input_class ?ե??????ɤ????? FeedbackClass ?Ǥ??? XInputClassInfo ??¤?Τ??֤?(?????ϥե????? XI.h ???????????Ƥ???)??

XGetFeedbackControl ?ꥯ?????Ȥϡ?XFeedbackState ??¤?Τ? ?ꥹ?ȤؤΥݥ??󥿤??֤??????Υꥹ?????Τ??줾???????Ǥϡ??ǥХ??????? ?ݡ??Ȥ??Ƥ????ե????ɥХå???1?Ĥ򵭽Ҥ??롣???Ǥ?Ĺ???ϲ??ѤʤΤǡ? ?ꥹ?????μ??????Ǥ򻲾ȤǤ????褦?ˤ??뤿?ᡢ?????Ǥϼ?ʬ??Ĺ???????? ?Ƥ??롣

?ե????ɥХå??Υ??饹?ˤĤ??Ƥϡ????ߤϰʲ??Τ??Τ??????????Ƥ???: KbdFeedbackClass, PtrFeedbackClass, StringFeedbackClass, IntegerFeedbackClass, LedFeedbackClass, BellFeedbackClass. ?????????????ϡ??ե????? XI.h ?????????????Ƥ??롣???ϥǥХ????ϡ? 0?İʾ??Υ??饹?Υե????ɥХå??򥵥ݡ??Ȥ??뤳?Ȥ??Ǥ???Ʊ?????饹?? ʣ???Υե????ɥХå??򥵥ݡ??Ȥ??뤳?Ȥ??Ǥ??롣???줾???Υե????ɥХ? ???ϡ????????ϥǥХ??????Ф??????Υ??饹???ǰ??դ˷??ޤ륯?饹???̻Ҥ? ???äƤ??롣????ID?ϡ?XChangeFeedbackControl ?ꥯ?????Ȥ??Ԥ??? ???˥ե????ɥХå??????̤??뤿???˻Ȥ????롣

XGetFeedbackControl ?ϡ????顼BadDevice, BadMatch ?? ?????????Ȥ????롣

XChangeFeedbackControl ?ꥯ?????Ȥϡ????ꤷ???ǥХ???????1?Ĥ? ?ե????ɥХå????ͤ??ѹ????롣?ե????ɥХå??ϡ??ꥯ?????Ȥ??Ϥ????? XFeedbackControl ??¤?Τ? id ?ե??????ɤ??ȤäƼ??̤????롣?ѹ? ?????ե????ɥХå???¤?ΤΥե??????ɤϡ??ꥯ?????Ȥ??Ϥ????ޥ????Υӥ? ???ͤǼ??̤????롣

XChangeFeedbackControl ?ϡ????顼 BadDevice, BadMatch, BadValue ?򵯤??????Ȥ????롣

??¤??

?ե????ɥХå??γƥ??饹?ϡ????饹????ͭ?ι?¤?Τǵ??Ҥ????롣 ???????ι?¤?Τϡ??ե????? XInput.h ???ǵ??Ҥ????Ƥ??롣 XFeedbackState ?? XFeedbackControl ?ϡ??ե????ɥХå??γ? ???饹????Ƭ??3?ĤΥե??????ɤ????ġ?????Ū?ʹ?¤?ΤǤ??롣

typedef struct {
XID class;
int length;
XID id;
} XFeedbackState, XFeedbackControl;

XKbdFeedbackState ??¤?Τϡ?X ?Υ????ܡ??ɾ??Υե????ɥХå????? ???ʥե????ɥХå????Ф????֤?????°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     click;
	int     percent;
	int     pitch;
	int     duration;
	int     led_mask;
	int     global_auto_repeat;
	char    auto_repeats[32];
} XKbdFeedbackState;

XPtrFeedbackState ??¤?Τϡ?X ?Υݥ??󥿾??Υե????ɥХå??????? ?ʥե????ɥХå????Ф????֤?????°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     accelNum;
	int     accelDenom;
	int     threshold;
} XPtrFeedbackState;

XIntegerFeedbackState ??¤?Τϡ??????ͤΥե????ɥХå????Ф????? ??????°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     resolution;
	int     minVal;
	int     maxVal;
} XIntegerFeedbackState;

XStringFeedbackState ??¤?Τϡ?ʸ?????Υե????ɥХå????Ф????? ??????°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     max_symbols;
	int     num_syms_supported;
	KeySym  *syms_supported;
} XStringFeedbackState;

XBellFeedbackState ??¤?Τϡ??٥??Υե????ɥХå????Ф????֤??? ??°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     percent;
	int     pitch;
	int     duration;
} XBellFeedbackState;

XLedFeedbackState ??¤?Τϡ?LED ?Υե????ɥХå????Ф????֤????? °???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     led_values;
} XLedFeedbackState;

XPrtFeedbackControl ??¤?Τϡ??ݥ??󥿤Υե????ɥХå????Ф????? ?椹?뤳?Ȥ??Ǥ???°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     accelNum;
	int     accelDenom;
	int     threshold;
} XPtrFeedbackControl;

XKbdFeedbackControl ??¤?Τϡ??????ܡ??ɤΥե????ɥХå????Ф??? ?????Ǥ???°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     click;
	int     percent;
	int     pitch;
	int     duration;
	int     led_mask;
	int     led_value;
	int     key;
	int     auto_repeat_mode;
} XKbdFeedbackControl;

XStringFeedbackControl ??¤?Τϡ?ʸ?????Υե????ɥХå????Ф??? ?????Ǥ???°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     num_keysyms;
	KeySym  *syms_to_display;
} XStringFeedbackControl;

XIntegerFeedbackControl ??¤?Τϡ??????ͤΥե????ɥХå????Ф??? ?????Ǥ???°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     int_to_display;
} XIntegerFeedbackControl;

XBellFeedbackControl ??¤?Τϡ??٥??Υե????ɥХå????Ф??????? ?Ǥ???°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     percent;
	int     pitch;
	int     duration;
} XBellFeedbackControl;

XLedFeedbackControl ??¤?Τϡ?LED ?Υե????ɥХå????Ф????????? ????°???????????롣

typedef struct {
	XID     class;
	int     length;
	XID     id;
	int     led_mask;
	int     led_values;
} XLedFeedbackControl;

?֤???

???Υ??顼?ϡ??ե????ɥХå????????ʤ??ǥХ????????ꤷ?? XGetFeedbackControl ?ꥯ?????Ȥ??Ԥä??????䡢?ե????ɥХå??Υ? ???פ??????Ǥ??? XFeedbackControl ??¤?Τ??Ȥäơ? XChangeFeedbackControl ?ꥯ?????Ȥ??Ԥä??????˵????롣 ?????ʥޥ????ӥå??ͤ??ȹ礻???Ѥ?????????(?????ܡ??ɤΥե????ɥХå? ???Ф??? DvAutoRepeatMode ̵???? DvKey ???Ѥ?????)??ʸ???? ?Υե????ɥХå????Ф????????? KeySym ?????ꤷ???????ˤ⡢???Υ??顼?? ?????롣
???ꤵ?줿???ͤˡ??ꥯ?????Ȥε????ϰϤ??ۤ??Ƥ??????Τ????롣?????????? ???????????ϰϤ????ꤵ???Ƥ??ʤ????С????????η????????????Ƥ??????Ƥ??? ?Ϥ????????롣???????Ȥ????????????Ƥ??????????Ϥ??Υ??顼?򵯤??????Ȥ? ???롣

??Ϣ????

Programming With Xlib

Release 6.5 X Version 11