Coder Social home page Coder Social logo

linux-surface-pen-button-remap's People

Contributors

ktibow avatar phildevprog avatar qzed avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

ambioid ktibow

linux-surface-pen-button-remap's Issues

Not working with SurfacePro9

Great idea but cannot get it to work on my SurfacePro9

Output i keep getting:
surface-pen-button[17261]: Error: Device not found
systemd[1]: surface-pen-button.service: Main process exited, code=exited, status=1/FAILURE

Remap config used:
[device]
vendor = 0x45e
product = 0x9ae

[actions]
single = ["KEY_LEFTMETA", "KEY_S"]
double = ["KEY_LEFT"]
hold = ["KEY_LEFTCTRL", "KEY_Q"]

This is evtest output. I have used them all but the one i think i should use is 12, see below evtest output:
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Intel Touch Host Controller
/dev/input/event2: Intel Touch Host Controller
/dev/input/event3: Intel Touch Host Controller
/dev/input/event4: Intel Touch Host Controller Touchscreen
/dev/input/event5: Intel Touch Host Controller
/dev/input/event6: Intel Touch Host Controller
/dev/input/event7: Intel Touch Host Controller Stylus
/dev/input/event8: Intel Touch Host Controller
/dev/input/event9: gpio-keys
/dev/input/event10: gpio-keys
/dev/input/event11: Microsoft Surface POS Tablet Mode Switch
/dev/input/event12: Microsoft Surface 045E:09AE Keyboard
/dev/input/event13: Microsoft Surface 045E:09B0 Keyboard
/dev/input/event14: Microsoft Surface 045E:09B0
/dev/input/event15: Microsoft Surface 045E:09B0
/dev/input/event16: IPTS Touch
/dev/input/event17: IPTS Stylus
/dev/input/event18: Microsoft Surface 045E:09AF Mouse
/dev/input/event19: Microsoft Surface 045E:09AF Touchpad
/dev/input/event20: Microsoft Surface 045E:09AF UNKNOWN
/dev/input/event21: Microsoft Surface 045E:09AF UNKNOWN
/dev/input/event22: Video Bus
/dev/input/event23: HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event24: HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event25: HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event26: HDA Intel PCH HDMI/DP,pcm=9
Select the device event number [0-26]: 12
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x45e product 0x9ae version 0x111
Input device name: "Microsoft Surface 045E:09AE Keyboard"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 1 (KEY_ESC)
Event code 2 (KEY_1)
Event code 3 (KEY_2)
Event code 4 (KEY_3)
Event code 5 (KEY_4)

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.