Home
last modified time | relevance | path

Searched refs:quirks (Results 1 – 25 of 136) 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 …]
/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/uboot/u-boot-2020.01/drivers/mmc/
Dsh_sdhi.c30 unsigned long quirks; member
227 if (host->quirks & SH_SDHI_QUIRK_16BIT_BUF) in sh_sdhi_sync_reset()
295 if (host->quirks & SH_SDHI_QUIRK_64BIT_BUF) in sh_sdhi_single_read()
338 if (host->quirks & SH_SDHI_QUIRK_64BIT_BUF) in sh_sdhi_multi_read()
380 if (host->quirks & SH_SDHI_QUIRK_64BIT_BUF) in sh_sdhi_single_write()
417 if (host->quirks & SH_SDHI_QUIRK_64BIT_BUF) in sh_sdhi_multi_write()
752 int sh_sdhi_init(unsigned long addr, int ch, unsigned long quirks) in sh_sdhi_init() argument
773 host->quirks = quirks; in sh_sdhi_init()
775 if (host->quirks & SH_SDHI_QUIRK_64BIT_BUF) in sh_sdhi_init()
777 else if (host->quirks & SH_SDHI_QUIRK_16BIT_BUF) in sh_sdhi_init()
[all …]
Dmv_sdhci.c71 int mv_sdh_init(unsigned long regbase, u32 max_clk, u32 min_clk, u32 quirks) in mv_sdh_init() argument
82 host->quirks = quirks; in mv_sdh_init()
116 host->quirks = SDHCI_QUIRK_32BIT_DMA_ADDR | SDHCI_QUIRK_WAIT_SEND_CMD; in mv_sdhci_probe()
Dkona_sdhci.c77 int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks) in kona_sdhci_init() argument
122 host->quirks = quirks; in kona_sdhci_init()
Dsdhci.c226 if ((host->quirks & SDHCI_QUIRK_32BIT_DMA_ADDR) && in sdhci_prepare_dma()
438 if (host->quirks & SDHCI_QUIRK_BROKEN_R1B) {
457 if (host->quirks & SDHCI_QUIRK_WAIT_SEND_CMD)
463 if ((host->quirks & SDHCI_QUIRK_32BIT_DMA_ADDR) &&
707 (host->quirks & SDHCI_QUIRK_USE_WIDE8))
711 (host->quirks & SDHCI_QUIRK_USE_WIDE8))
724 if ((host->quirks & SDHCI_QUIRK_NO_HISPD_BIT) ||
725 (host->quirks & SDHCI_QUIRK_BROKEN_HISPD_MODE))
749 if ((host->quirks & SDHCI_QUIRK_32BIT_DMA_ADDR) && !aligned_buffer) {
877 if (host->quirks & SDHCI_QUIRK_REG32_RW)
[all …]
Datmel_sdhci.c31 host->quirks = SDHCI_QUIRK_WAIT_SEND_CMD; in atmel_sdhci_init()
74 host->quirks = SDHCI_QUIRK_WAIT_SEND_CMD; in atmel_sdhci_probe()
/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/uboot/u-boot-2020.01/drivers/i2c/
Di2c-cdns.c133 u32 quirks; member
137 u32 quirks; member
336 hold_quirk = (i2c_bus->quirks & CDNS_I2C_BROKEN_HOLD_BIT) && updatetx; in cdns_i2c_read_data()
408 hold_quirk = !!(i2c_bus->quirks & CDNS_I2C_BROKEN_HOLD_BIT); in cdns_i2c_xfer()
473 i2c_bus->quirks = pdata->quirks; in cdns_i2c_ofdata_to_platdata()
490 .quirks = CDNS_I2C_BROKEN_HOLD_BIT,
/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/uboot/u-boot-2020.01/drivers/input/
Di8042.c31 int quirks; /* quirks that we support */ member
278 for (try = 0; kbd_reset(priv->quirks) != 0; try++) { in i8042_start()
324 priv->quirks |= QUIRK_DUP_POR; in i8042_kbd_probe()

123456