mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-27 05:40:06 +01:00
tools: fix an indentation issue
This commit is contained in:
parent
ac16ba77ff
commit
c179b3dac1
1 changed files with 7 additions and 7 deletions
|
|
@ -152,20 +152,20 @@ print_device_details(struct ei_event *event)
|
|||
printf(" type: %s\n", ei_device_get_type(device) == EI_DEVICE_TYPE_VIRTUAL ? "virtual" : "physical");
|
||||
printf(" capabilities: [%s]\n", capabilities);
|
||||
|
||||
|
||||
idx = 0;
|
||||
struct ei_region *region;
|
||||
while ((region = ei_device_get_region(device, idx++))) {
|
||||
if (idx == 1)
|
||||
printf(" regions:\n");
|
||||
|
||||
uint32_t w = ei_region_get_width(region);
|
||||
uint32_t h = ei_region_get_height(region);
|
||||
uint32_t x = ei_region_get_x(region);
|
||||
uint32_t y = ei_region_get_y(region);
|
||||
double scale = ei_region_get_physical_scale(region);
|
||||
uint32_t w = ei_region_get_width(region);
|
||||
uint32_t h = ei_region_get_height(region);
|
||||
uint32_t x = ei_region_get_x(region);
|
||||
uint32_t y = ei_region_get_y(region);
|
||||
double scale = ei_region_get_physical_scale(region);
|
||||
|
||||
printf(" - %ux%u@%u,%u*%.2f\n", w, h, x, y, scale);
|
||||
|
||||
printf(" - %ux%u@%u,%u*%.2f\n", w, h, x, y, scale);
|
||||
}
|
||||
|
||||
struct ei_keymap *keymap = ei_device_keyboard_get_keymap(device);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue