X-Git-Url: https://diplodocus.org/git/xorg-xinput/blobdiff_plain/6ebdca422d12e3326f9ab59767e05eefd24ff85f..6f444b5d063452e7a8705c756269960e509241d8:/src/xinput.c?ds=sidebyside diff --git a/src/xinput.c b/src/xinput.c index ac9c65f..1207f9d 100644 --- a/src/xinput.c +++ b/src/xinput.c @@ -53,6 +53,10 @@ static entry drivers[] = " ", set_integer_feedback }, + {"get-button-map", + "", + get_button_map + }, {"set-button-map", " [ [...]]", set_button_map @@ -102,6 +106,7 @@ static entry drivers[] = " ", set_clientpointer }, +#endif { "list-props", " [ ...]", list_props @@ -110,11 +115,22 @@ static entry drivers[] = " [ ...]", set_int_prop }, + { "set-float-prop", + " [ ...]", + set_float_prop + }, + { "set-atom-prop", + " [ ...]", + set_atom_prop + }, { "watch-props", "", watch_props }, -#endif + { "delete-prop", + " ", + delete_prop + }, {0, 0, 0 } }; @@ -228,7 +244,7 @@ main(int argc, char * argv[]) if (strcmp(driver->func_name, func) == 0) { int r = (*driver->func)(display, argc-2, argv+2, driver->func_name, driver->arg_desc); - XFlush(display); + XSync(display, False); return r; } driver++;