Git Product home page Git Product logo

thinkpad-backlight's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

thinkpad-backlight's Issues

Provide a guide on how to get the needed DLLs

So I run 8.1 and I can't install the lenovo mess of spyware. I understand you don't want to rehost the files but maybe add some hints to the readme?

My poorly written version:

  1. I downloaded the files from: https://pcsupport.lenovo.com/us/en/solutions/hf003321
  2. I extracted the pack with 7zip. You don't want any of the appx stuff: the files are in the 500mb exe... windows app my butt.
  3. Extract the exe with innounp: http://innounp.sourceforge.net/
  4. Search the cabs for things mentioning the keyboard (eg keyboard) and extract the cab file.
  5. Modify the thinkpad-backlight.config to point to the files, I moved them to the program dir
  6. Enjoy backlight control and your windows 10 free life

Enjoy the program BTW.

Hibernate resume

Turning light on after resume from hibernate: turns straight back off again.

SetKeyboardBackLightStatus function params changed

Lenovo has pushed an update to Keyboard_Core.dll that changed the definition of the SetKeyboardBackLightStatus function - it now takes a second parameter of type HidKbdData. Inspecting the definition it appears that the second parameter can be null. An update is needed that passes null for the second parameter, without it an error of System.Reflection.TargetParameterCountException: Parameter count mismatch occurs.

Below is the overview of the new function inspeted from JetBrains dotPeek:

public unsafe uint SetKeyboardBackLightStatus(int nStatus, HidKbdData hidKbdData) {
    if (hidKbdData != null) {
        ....
    } else {
        ....
    }
    return 0;
}

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.