Home
last modified time | relevance | path

Searched refs:quirks (Results 1 – 25 of 132) sorted by relevance

123456

/third_party/libinput/doc/user/
Ddevice-quirks.rst1 .. _device-quirks:
4 Device quirks
10 so-called model quirks to provide that information. Model quirks are usually
11 installed under ``/usr/share/libinput/<filename>.quirks`` and are standard
15 ``quirks/README.md`` file in the libinput source repository for more details on
18 .. warning:: Model quirks are internal API and may change at any time. No
21 For example, a quirks file may have this content to label all keyboards on
30 The model quirks are part of the source distribution and should never be
33 :ref:`device-quirks-local`.
35 Device quirks are parsed on libinput initialization. A parsing error in the
[all …]
Dtrackpoint-configuration.rst12 part of the :ref:`device-quirks` system and provided once per device.
48 - the :ref:`device-quirks` for this device do not list a trackpoint multiplier
49 (see :ref:`device-quirks-debugging`)
56 device quirks, build libinput from source and restart the session frequently
80 # Use an approximate multiplier in the quirks file
81 $ cat > quirks/99-trackpont-override.quirks <<EOF
89 $ ./builddir/libinput quirks list /dev/input/event18
99 multiplier is good enough. If not, adjust the ``.quirks`` file and re-run the
109 $ sudo cp quirks/99-trackpoint-override.quirks /etc/libinput/local-overrides.quirks
116 $ libinput quirks list
[all …]
Dtouchpad-pressure-debugging.rst6 :ref:`device-quirks` entry specific to each laptop model. To check if a
8 :ref:`libinput quirks <device-quirks-debugging>` tool: ::
10 $ libinput quirks list /dev/input/event19
12 If your device does not list any quirks, it probably needs a touch
26 :ref:`device-quirks` locally. Note that the quirk is **not public API** and **may
79 By default, this tool uses the :ref:`device-quirks` for the pressure range. To
97 :ref:`device-quirks` entry similar to this: ::
99 $> cat /etc/libinput/local-overrides.quirks
106 The file name **must** be ``/etc/libinput/local-overrides.quirks``. The
118 $ sudo libinput list-quirks /dev/input/event10
[all …]
Ddevice-configuration-via-udev.rst139 :ref:`device-quirks` and not in the hwdb anymore. Please see
140 :ref:`device-quirks` for
160 model quirks hwdb for instructions.
182 rules files (where available) provide. Hardware-specific quirks as used by
183 libinput are in the :ref:`device-quirks` system.
263 device-specific quirks must go in to the :ref:`device-quirks` system.
Dtools.rst26 - ``libinput quirks``: show quirks assigned to a device, see
27 :ref:`here <libinput-quirks>`
320 .. _libinput-quirks:
323 Listing quirks assigned to a device
326 The ``libinput quirks`` tool can show quirks applied for any given device. ::
328 $ libinput quirks list /dev/input/event0
331 If the tool's output is empty, no quirk is applied. See :ref:`device-quirks`
/third_party/libinput/src/
Dquirks.h43 struct quirks;
190 struct quirks *
200 struct quirks *
201 quirks_unref(struct quirks *q);
207 quirks_has_quirk(struct quirks *q, enum quirk which);
218 quirks_get_uint32(struct quirks *q,
231 quirks_get_int32(struct quirks *q,
244 quirks_get_double(struct quirks *q,
260 quirks_get_string(struct quirks *q,
273 quirks_get_bool(struct quirks *q,
[all …]
Devdev.c425 struct quirks_context *quirks; in evdev_tag_trackpoint() local
426 struct quirks *q; in evdev_tag_trackpoint()
436 quirks = evdev_libinput_context(device)->quirks; in evdev_tag_trackpoint()
437 q = quirks_fetch_for_device(quirks, device->udev_device); in evdev_tag_trackpoint()
473 struct quirks_context *quirks; in evdev_tag_keyboard() local
474 struct quirks *q; in evdev_tag_keyboard()
488 quirks = evdev_libinput_context(device)->quirks; in evdev_tag_keyboard()
489 q = quirks_fetch_for_device(quirks, device->udev_device); in evdev_tag_keyboard()
916 struct quirks_context *quirks; in evdev_read_switch_reliability_prop() local
917 struct quirks *q; in evdev_read_switch_reliability_prop()
[all …]
Dquirks.c158 struct quirks { struct
183 struct list quirks; member
1035 list_init(&ctx->quirks); in quirks_init_subsystem()
1082 assert(list_empty(&ctx->quirks)); in quirks_context_unref()
1095 static struct quirks *
1098 struct quirks *q; in quirks_new()
1108 struct quirks *
1109 quirks_unref(struct quirks *q) in quirks_unref()
1280 struct quirks *q, in quirk_apply_section()
1307 struct quirks *q, in quirk_match_section()
[all …]
Devdev-tablet.c1079 struct quirks_context *quirks = NULL; in tool_set_pressure_thresholds() local
1080 struct quirks *q = NULL; in tool_set_pressure_thresholds()
1091 quirks = evdev_libinput_context(device)->quirks; in tool_set_pressure_thresholds()
1092 q = quirks_fetch_for_device(quirks, device->udev_device); in tool_set_pressure_thresholds()
1758 if (tablet->quirks.need_to_force_prox_out) in tablet_proximity_out_quirk_set_timer()
1759 libinput_timer_set(&tablet->quirks.prox_out_timer, in tablet_proximity_out_quirk_set_timer()
1777 if (tablet->quirks.proximity_out_forced && in tablet_update_tool_state()
1780 tablet->quirks.need_to_force_prox_out = false; in tablet_update_tool_state()
1781 tablet->quirks.proximity_out_forced = false; in tablet_update_tool_state()
1796 if (tablet->quirks.proximity_out_forced) { in tablet_update_tool_state()
[all …]
Devdev-mt-touchpad.c785 tp->quirks.msc_timestamp.now = e->value; in tp_process_msc()
1472 if (tp->quirks.nonmotion_event_count > 10) { in tp_need_motion_history_reset()
1476 tp->quirks.nonmotion_event_count = 0; in tp_need_motion_history_reset()
1481 tp->quirks.nonmotion_event_count++; in tp_need_motion_history_reset()
1608 struct msc_timestamp *m = &tp->quirks.msc_timestamp; in tp_process_msc_timestamp()
1729 t->quirks.reset_motion_history = true; in tp_process_state()
1730 } else if (t->quirks.reset_motion_history) { in tp_process_state()
1732 t->quirks.reset_motion_history = false; in tp_process_state()
3193 struct quirks_context *quirks; in tp_is_tpkb_combo_below() local
3194 struct quirks *q; in tp_is_tpkb_combo_below()
[all …]
Devdev-mt-touchpad-thumb.c391 struct quirks_context *quirks; in tp_init_thumb() local
392 struct quirks *q; in tp_init_thumb()
420 quirks = evdev_libinput_context(device)->quirks; in tp_init_thumb()
421 q = quirks_fetch_for_device(quirks, device->udev_device); in tp_init_thumb()
/third_party/libinput/tools/
Dshared.c579 sprintf_event_codes(char *buf, size_t sz, struct quirks *quirks) in sprintf_event_codes() argument
586 quirks_get_tuples(quirks, QUIRK_ATTR_EVENT_CODE_DISABLE, &t); in sprintf_event_codes()
611 struct quirks *quirks; in tools_list_device_quirks() local
614 quirks = quirks_fetch_for_device(ctx, device); in tools_list_device_quirks()
615 if (!quirks) in tools_list_device_quirks()
620 if (quirks_has_quirk(quirks, q)) { in tools_list_device_quirks()
625 quirks_get_bool(quirks, q, &b); in tools_list_device_quirks()
633 if (quirks_has_quirk(quirks, q)) { in tools_list_device_quirks()
646 quirks_get_dimensions(quirks, q, &dim); in tools_list_device_quirks()
652 quirks_get_range(quirks, q, &r); in tools_list_device_quirks()
[all …]
Dlibinput-quirks.c99 struct quirks_context *quirks; in main() local
175 quirks = quirks_init_subsystem(data_path, in main()
180 if (!quirks) { in main()
207 tools_list_device_quirks(quirks, device, simple_printf, NULL); in main()
218 quirks_context_unref(quirks); in main()
Dlibinput-replay200 quirks = fetch(device, 'quirks')
201 if not quirks:
214 quirk += '\n'.join(quirks)
221 quirks = []
226 quirks.append(quirk)
227 if not quirks:
239 fd.write('\n\n'.join(quirks))
/third_party/libinput/quirks/
DREADME.md3 This directory contains hardware quirks used by libinput to work around bugs
16 The quirks are hardware quirks only.
22 current structure is 10-generic-foo.quirks for generic settings,
23 30-vendor-foo.quirks for vendor-specific settings and 50-system-foo.quirks
28 Laptop-specific quirks should always go into the laptop vendor's file.
71 When modifying a data file, use the `libinput list-quirks` tool to
76 libinput list-quirks --data-dir /path/to/git/repo/data/ --verbose /dev/input/event0
/third_party/parse5/packages/parse5/docs/tree-adapter/default/
Ddocument.md26 **● mode**: *"no-quirks" | "quirks" | "limited-quirks"*
28 [Document mode](https://dom.spec.whatwg.org/#concept-document-limited-quirks).
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c91 pan_format_class_load(const struct util_format_description *desc, unsigned quirks) in pan_format_class_load() argument
103 if (quirks & MIDGARD_NO_TYPED_BLEND_LOADS) { in pan_format_class_load()
104 return (quirks & NO_BLEND_PACKS) in pan_format_class_load()
109 if (quirks & MIDGARD_MISSING_LOADS) { in pan_format_class_load()
123 pan_format_class_store(const struct util_format_description *desc, unsigned quirks) in pan_format_class_store() argument
126 if (quirks & MIDGARD_NO_TYPED_BLEND_STORES) { in pan_format_class_store()
127 return (quirks & NO_BLEND_PACKS) in pan_format_class_store()
137 pan_format_class(const struct util_format_description *desc, unsigned quirks, bool is_store) in pan_format_class() argument
140 return pan_format_class_store(desc, quirks); in pan_format_class()
142 return pan_format_class_load(desc, quirks); in pan_format_class()
[all …]
/third_party/parse5/packages/parse5/docs/tree-adapter/
Dinterface.md212 ▸ **getDocumentMode**(document: *Document*): *"no-quirks" | "quirks" | "limited-quirks"*
214 Returns [document mode](https://dom.spec.whatwg.org/#concept-document-limited-quirks).
222 **Returns:** *"no-quirks" | "quirks" | "limited-quirks"*
523 ▸ **setDocumentMode**(document: *Document*, mode: *"no-quirks" | "quirks" | "limited-quirks"*): `vo…
525 Sets the [document mode](https://dom.spec.whatwg.org/#concept-document-limited-quirks).
532 | mode | *"no-quirks" | "quirks" | "limited-quirks"* | Document mode. |
/third_party/parse5/packages/parse5-htmlparser2-tree-adapter/docs/
Ddocument.md145 **● x-mode**: *"no-quirks" | "quirks" | "limited-quirks"*
147 [Document mode](https://dom.spec.whatwg.org/#concept-document-limited-quirks).
/third_party/libinput/test/
Dtest-quirks.c897 typedef bool (*qparsefunc) (struct quirks *q, enum quirk which, void* data);
938 struct quirks *q; in test_attr_parse()
1252 struct quirks *q; in START_TEST()
1285 struct quirks *q; in START_TEST()
1312 struct quirks *q; in START_TEST()
1315 q = dev->quirks; in START_TEST()
1331 struct quirks *q; in START_TEST()
1334 q = dev->quirks; in START_TEST()
1350 struct quirks *q; in START_TEST()
1353 q = dev->quirks; in START_TEST()
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/doc/note/
Dquirks.md18 facto canonical implementation), but enabling various quirks result in
19 different choices. In particular, quirks are useful in regression testing that
32 GIF-specific quirks have a `uint32_t` value of `((0xF8586 << 10) | n)`, for
/third_party/FreeBSD/sys/dev/usb/quirk/
Dusb_quirk.c44 uint16_t quirks[USB_SUB_QUIRKS_MAX]; member
51 .quirks = { __VA_ARGS__ } }
640 if (usb_quirks[x].quirks[y] == UQ_MATCH_VENDOR_ONLY) in usb_test_quirk_by_info()
648 if (usb_quirks[x].quirks[y] == quirk) { in usb_test_quirk_by_info()
745 usb_quirkstr(usb_quirks[y].quirks[x]), in usb_quirk_ioctl()
788 if (pqe->quirks[x] == UQ_NONE) { in usb_quirk_ioctl()
789 pqe->quirks[x] = y; in usb_quirk_ioctl()
826 if (pqe->quirks[x] == y) { in usb_quirk_ioctl()
827 pqe->quirks[x] = UQ_NONE; in usb_quirk_ioctl()
836 if (pqe->quirks[x] != UQ_NONE) { in usb_quirk_ioctl()
/third_party/libinput/
Dmeson.build15 dir_src_quirks = join_paths(meson.current_source_dir(), 'quirks')
306 libinput_data_override_path = join_paths(dir_sysconf, 'local-overrides.quirks')
311 install_subdir('quirks', subdir
317 'src/quirks.c',
318 'src/quirks.h',
323 libquirks = static_library('quirks', src_libquirks, build
482 libinput_quirks_sources = [ 'tools/libinput-quirks.c' ]
483 libinput_quirks = executable('libinput-quirks',
490 test('validate-quirks',
496 configure_file(input : 'tools/libinput-quirks.man',
[all …]
/third_party/mesa3d/src/panfrost/lib/
Dpan_props.c241 dev->quirks = panfrost_get_quirks(dev->gpu_id, revision); in panfrost_open_device()
246 if (dev->quirks & HAS_SWIZZLES) in panfrost_open_device()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c455 uint32_t quirks; member
815 uint32_t quirks = NO_QUIRKS; in umass_probe_proto() local
863 quirks |= NO_TEST_UNIT_READY; in umass_probe_proto()
865 quirks |= RS_NO_CLEAR_UA; in umass_probe_proto()
867 quirks |= NO_START_STOP; in umass_probe_proto()
869 quirks |= NO_GETMAXLUN; in umass_probe_proto()
871 quirks |= NO_INQUIRY; in umass_probe_proto()
873 quirks |= NO_INQUIRY_EVPD; in umass_probe_proto()
875 quirks |= NO_PREVENT_ALLOW; in umass_probe_proto()
877 quirks |= NO_SYNCHRONIZE_CACHE; in umass_probe_proto()
[all …]

123456