diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-06-22 16:49:56 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-06-25 11:08:37 +1000 |
commit | 2510d5550def0b52796eb64a92603d2dfe9dcdb1 (patch) | |
tree | e1cb072ef07e20e71441538f3c17aadff4861b23 | |
parent | d96494e5a7ae9de4bf6a86ccf09af5f4d86d9131 (diff) | |
download | libinput-2510d5550def0b52796eb64a92603d2dfe9dcdb1.tar.gz |
test: fix indentation in litest-int.h
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | test/litest-int.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/test/litest-int.h b/test/litest-int.h index 1cdae730..60c3be8c 100644 --- a/test/litest-int.h +++ b/test/litest-int.h @@ -32,28 +32,28 @@ #define LITEST_AUTO_ASSIGN INT_MIN struct litest_test_device { - enum litest_device_type type; - enum litest_device_feature features; - const char *shortname; - void (*setup)(void); /* test fixture, used by check */ - void (*teardown)(void); /* test fixture, used by check */ - /** + enum litest_device_type type; + enum litest_device_feature features; + const char *shortname; + void (*setup)(void); /* test fixture, used by check */ + void (*teardown)(void); /* test fixture, used by check */ + /** * If create is non-NULL it will be called to initialize the device. * For such devices, no overrides are possible. If create is NULL, * the information in name, id, events, absinfo is used to * create the device instead. */ - void (*create)(struct litest_device *d); + void (*create)(struct litest_device *d); - /** - * The device name. Only used when create is NULL. - */ - const char *name; - /** - * The device id. Only used when create is NULL. - */ - const struct input_id *id; - /** + /** + * The device name. Only used when create is NULL. + */ + const char *name; + /** + * The device id. Only used when create is NULL. + */ + const struct input_id *id; + /** * List of event type/code tuples, terminated with -1, e.g. * EV_REL, REL_X, EV_KEY, BTN_LEFT, -1 * Special tuple is INPUT_PROP_MAX, <actual property> to set. @@ -61,16 +61,16 @@ struct litest_test_device { * Any EV_ABS codes in this list will be initialized with a default * axis range. */ - int *events; - /** - * List of abs codes to enable, with absinfo.value determining the - * code to set. List must be terminated with absinfo.value -1 - */ - struct input_absinfo *absinfo; - struct litest_device_interface *interface; + int *events; + /** + * List of abs codes to enable, with absinfo.value determining the + * code to set. List must be terminated with absinfo.value -1 + */ + struct input_absinfo *absinfo; + struct litest_device_interface *interface; - const char *udev_rule; - const char *quirk_file; + const char *udev_rule; + const char *quirk_file; }; struct litest_device_interface { |