Coder Social home page Coder Social logo

q11k_driver's People

Contributors

freason avatar konachan700 avatar squirrelhub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

q11k_driver's Issues

Map MiddleClick and Rigtclick to Stilus.

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. ((

Problem with installation

I can't install this
gravit@Gravit-PC:/Downloads/Q11K_Driver-master$ sudo make
[sudo] password for gravit:
make -C /lib/modules/4.13.0-37-generic/build SUBDIRS=/home/gravit/Downloads/Q11K_Driver-master modules
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-37-generic'
CC [M] /home/gravit/Downloads/Q11K_Driver-master/q11k_device.o
/home/gravit/Downloads/Q11K_Driver-master/q11k_device.c:158:12: warning: ‘q11k_prepare_pens’ declared ‘static’ but never defined [-Wunused-function]
static int q11k_prepare_pens(struct hid_device *hdev);
^~~~~~~~~~~~~~~~~
/home/gravit/Downloads/Q11K_Driver-master/q11k_device.c:160:12: warning: ‘q11k_register_relative_pen’ declared ‘static’ but never defined [-Wunused-function]
static int q11k_register_relative_pen(struct hid_device *hdev);
^~~~~~~~~~~~~~~~~~~~~~~~~~
Building modules, stage 2.
MODPOST 1 modules
CC /home/gravit/Downloads/Q11K_Driver-master/q11k_device.mod.o
LD [M] /home/gravit/Downloads/Q11K_Driver-master/q11k_device.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-37-generic'
gravit@Gravit-PC:
/Downloads/Q11K_Driver-master$ sudo make install
make -C /lib/modules/4.13.0-37-generic/build SUBDIRS=/home/gravit/Downloads/Q11K_Driver-master modules_install
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-37-generic'
INSTALL /home/gravit/Downloads/Q11K_Driver-master/q11k_device.ko
At main.c:160:

  • SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
  • SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
    sign-file: certs/signing_key.pem: No such file or directory
    DEPMOD 4.13.0-37-generic
    make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-37-generic'
    install -D -m 0644 99-q11k_device.conf /etc/modprobe.d/99-q11k_device.conf
    depmod -a

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.