Coder Social home page Coder Social logo

Comments (4)

pfps avatar pfps commented on September 18, 2024

The log shows that the key that is being depressed and released is 0xe2, not 0xc7 or 0xc8, which are the Brightness up and down keys. 0xe2 is Backlight Down.

My Craft keyboard has F1 as Brightness Down, F2 as Brightness Up, F6 as Backlight Down, and F7 as Backlight Up, but none of them generate any output when the keyboard is set to Windows. (There is no Android or Linux setting for my keyboard.)

So Solaar is doing what is should. The problem is mapping the icons on the keys to key names. For some keyboards this is problematic. Your keyboard is likely in the problematic situation where you need to look at the output of solaar show which gives the names of your F4 and F5 keys. See below for the excerpt.

       3: Backlight Down            , default: Backlight Down              => Backlight Down
             is FN, FN sensitive, reprogrammable, divertable, analytics key events, pos:4, group:0, group mask:empty
             reporting: default
         4: Backlight Up              , default: Backlight Up                => Backlight Up
             is FN, FN sensitive, reprogrammable, divertable, analytics key events, pos:5, group:0, group mask:empty
             reporting: default

(For some keyboards the marking on the key has no relationship to the name of the key. At least in your case the marking is likely something that might be considered to be related to light.)

from solaar.

abeidahmed avatar abeidahmed commented on September 18, 2024

Thank you for the quick response. You're right. They weren't brightness keys as I had imagined.

The screenshot (snipping) F8 key only works when I set my OS to "Android". Is there a way I can make it work when I set the OS to "Windows"?

image

from solaar.

pfps avatar pfps commented on September 18, 2024

You probably would have to divert it and add a rule to do something with it, probably simulate the same key press as on Android.

from solaar.

abeidahmed avatar abeidahmed commented on September 18, 2024

It worked. Thanks for your help. Appreciate it.

image

from solaar.

Related Issues (20)

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.