Skip to content

Map MiddleClick and Rigtclick to Stilus. #1

@mifth

Description

@mifth

Hi.

Is it possible to set MiddleClick ans RightClick buttons instead of Ctrl+8 and Ctrl+9?
I guess these lines:

Q11K_Driver/q11k_device.c

Lines 266 to 267 in 39c6c48

if (data[1] == 0xc2) __q11k_rkey_press(KEY_8, data[4], 1);
if (data[1] == 0xc4) __q11k_rkey_press(KEY_9, data[4], 1);

I tried to replace them with:
input_report_key(idev, BTN_MIDDLE, 1);
input_report_key(idev, BTN_RIGHT, 1);

But nothing worked. I'm not a programmer. ((

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions