hid-uclogic-params.c (caf7e93479c73374a9fcad29f90477280444584e) hid-uclogic-params.c (fbc08b4e8ea5582029dc3c05c954d4d157e4d3f8)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * HID driver for UC-Logic devices not fully compliant with HID standard
4 * - tablet initialization and parameter retrieval
5 *
6 * Copyright (c) 2018 Nikolai Kondrashov
7 */
8

--- 875 unchanged lines hidden (view full) ---

884 rc);
885 goto cleanup;
886 }
887 p.frame_list[1].suffix = "Touch Ring";
888 p.frame_list[1].dev_id_byte =
889 UCLOGIC_RDESC_V2_FRAME_TOUCH_DEV_ID_BYTE;
890 p.frame_list[1].touch_byte = 5;
891 p.frame_list[1].touch_max = 12;
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * HID driver for UC-Logic devices not fully compliant with HID standard
4 * - tablet initialization and parameter retrieval
5 *
6 * Copyright (c) 2018 Nikolai Kondrashov
7 */
8

--- 875 unchanged lines hidden (view full) ---

884 rc);
885 goto cleanup;
886 }
887 p.frame_list[1].suffix = "Touch Ring";
888 p.frame_list[1].dev_id_byte =
889 UCLOGIC_RDESC_V2_FRAME_TOUCH_DEV_ID_BYTE;
890 p.frame_list[1].touch_byte = 5;
891 p.frame_list[1].touch_max = 12;
892 p.frame_list[1].touch_flip_at = 6;
892 p.frame_list[1].touch_flip_at = 7;
893
894 /* Create v2 frame dial parameters */
895 rc = uclogic_params_frame_init_with_desc(
896 &p.frame_list[2],
897 uclogic_rdesc_v2_frame_dial_arr,
898 uclogic_rdesc_v2_frame_dial_size,
899 UCLOGIC_RDESC_V2_FRAME_DIAL_ID);
900 if (rc != 0) {

--- 380 unchanged lines hidden ---
893
894 /* Create v2 frame dial parameters */
895 rc = uclogic_params_frame_init_with_desc(
896 &p.frame_list[2],
897 uclogic_rdesc_v2_frame_dial_arr,
898 uclogic_rdesc_v2_frame_dial_size,
899 UCLOGIC_RDESC_V2_FRAME_DIAL_ID);
900 if (rc != 0) {

--- 380 unchanged lines hidden ---