Lines Matching refs:group
409 * rings and strips that share the same mode are a "mode group". Whenever
410 * the mode changes, all buttons, rings and strips within this mode group
413 * Most tablets only have a single mode group, some tablets provide multiple
415 * 24HD). libinput guarantees that at least one mode group is always
428 * Most devices only provide a single mode group, however devices such as
434 * ring and strip with the correct mode group.
446 * The returned mode group is not refcounted and may become invalid after
452 * group will be identical for each subsequent call of this function with
455 * generated by this mode group.
459 * @param index A mode group index
460 * @return the mode group with the given index or NULL if an invalid index
476 * @param group A previously obtained mode group
477 * @return the numeric index this mode group represents, starting at 0
482 libinput_tablet_pad_mode_group_get_index(struct libinput_tablet_pad_mode_group *group);
487 * Query the mode group for the number of available modes. The number of
494 * mode switching capability has a single mode group and a single mode.
496 * @param group A previously obtained mode group
497 * @return the number of modes available in this mode group
502 libinput_tablet_pad_mode_group_get_num_modes(struct libinput_tablet_pad_mode_group *group);
507 * Return the current mode this mode group is in. Note that the returned
516 * @param group A previously obtained mode group
517 * @return the numeric index of the current mode in this group, starting at 0
524 libinput_tablet_pad_mode_group_get_mode(struct libinput_tablet_pad_mode_group *group);
531 * @param group A previously obtained mode group
533 * @return true if the given button index is part of this mode group or
539 libinput_tablet_pad_mode_group_has_button(struct libinput_tablet_pad_mode_group *group,
547 * @param group A previously obtained mode group
549 * @return true if the given ring index is part of this mode group or
555 libinput_tablet_pad_mode_group_has_ring(struct libinput_tablet_pad_mode_group *group,
563 * @param group A previously obtained mode group
565 * @return true if the given strip index is part of this mode group or
571 libinput_tablet_pad_mode_group_has_strip(struct libinput_tablet_pad_mode_group *group,
577 * The toggle button in a mode group is the button assigned to cycle to or
581 * directly selecting one of the three modes per group.
585 * @param group A previously obtained mode group
587 * @retval non-zero if the button is a mode toggle button for this group, or
593 libinput_tablet_pad_mode_group_button_is_toggle(struct libinput_tablet_pad_mode_group *group,
599 * Increase the refcount of the mode group. A mode group will be
602 * @param group A previously obtained mode group
603 * @return The passed mode group
609 struct libinput_tablet_pad_mode_group *group);
614 * Decrease the refcount of the mode group. A mode group will be
617 * @param group A previously obtained mode group
618 * @return NULL if the group was destroyed, otherwise the passed mode group
624 struct libinput_tablet_pad_mode_group *group);
629 * Set caller-specific data associated with this mode group. libinput does
633 * @param group A previously obtained mode group
641 struct libinput_tablet_pad_mode_group *group,
647 * Get the caller-specific data associated with this mode group, if any.
649 * @param group A previously obtained mode group
657 struct libinput_tablet_pad_mode_group *group);
3327 * @note Pad keys are not part of a mode group. It is an application bug to
3355 * Returns the mode group that the button, ring, or strip that triggered
3360 * @note Pad keys are not part of a mode group. It is an application bug to
3363 * The returned mode group is not refcounted and may become invalid after
3369 * @return the mode group of the button, ring or strip that caused this event
3965 * Return the logical name of the seat. This is an identifier to group sets
4046 * Get the device group this device is assigned to. Some physical
4056 * All devices are part of a device group though for most devices the group
4057 * will be a singleton. A device is assigned to a device group on @ref
4058 * LIBINPUT_EVENT_DEVICE_ADDED and removed from that group on @ref
4060 * devices are in each device group.
4076 * group1 [ label="group 1"; URL="\ref libinput_device_group"];
4077 * group2 [ label="group 2"; URL="\ref libinput_device_group"];
4078 * group3 [ label="group 3"; URL="\ref libinput_device_group"];
4089 * Device groups do not get re-used once the last device in the group was
4091 * devices will return a different device group after every unplug.
4093 * The returned device group is not refcounted and may become invalid after
4101 * @return The device group this device belongs to
4435 * Increase the refcount of the device group. A device group will be freed
4437 * libinput_dispatch() if all devices of this group were removed from the
4438 * system. A caller must ensure to reference the device group correctly to
4441 * @param group A previously obtained device group
4442 * @return The passed device group
4445 libinput_device_group_ref(struct libinput_device_group *group);
4450 * Decrease the refcount of the device group. A device group will be freed
4452 * libinput_dispatch() if all devices of this group were removed from the
4453 * system. A caller must ensure to reference the device group correctly to
4456 * @param group A previously obtained device group
4457 * @return NULL if the device group was destroyed, otherwise the passed
4458 * device group
4461 libinput_device_group_unref(struct libinput_device_group *group);
4466 * Set caller-specific data associated with this device group. libinput does
4470 * @param group A previously obtained device group
4475 libinput_device_group_set_user_data(struct libinput_device_group *group,
4481 * Get the caller-specific data associated with this input device group, if
4484 * @param group A previously obtained group
4489 libinput_device_group_get_user_data(struct libinput_device_group *group);