Coder Social home page Coder Social logo

Keys not working about elgatolegacy HOT 5 CLOSED

atom0s avatar atom0s commented on July 1, 2024
Keys not working

from elgatolegacy.

Comments (5)

atom0s avatar atom0s commented on July 1, 2024

Hello guys, thanks for the report. I am looking into this currently.

For Windows 7 there appears to be a failure while calling one of the service level APIs, in this case:

  • WTSGetActiveConsoleSessionId
  • WTSQuerySessionInformationW

The StreamDeck software is checking the current session information with the 'WTSSessionInfoEx' flag here for some reason and this is landing up returning bad data causing the function using it to return a bad value. This return causes the StreamDeck to skip over processing the grid key press. (Pressing a button on the deck.)

I am not familiar with this API so I am looking into this a bit more before I opt. to just patch the given function as needed to bypass this check. But, I am able to make the deck fully work on Windows 7 by adjusting the program to ignore what this API is doing. So I will hopefully have something posted in the near future to fix this for Windows 7.

from elgatolegacy.

thaboy1992 avatar thaboy1992 commented on July 1, 2024

from elgatolegacy.

atom0s avatar atom0s commented on July 1, 2024

If any other developer runs into this issue, it appears this is a known bug to Microsoft, yay..

Windows Server 2008 R2 and Windows 7: Due to a code defect, the usage of the WTS_SESSIONSTATE_LOCK and WTS_SESSIONSTATE_UNLOCK flags is reversed. That is, WTS_SESSIONSTATE_LOCK indicates that the session is unlocked, and WTS_SESSIONSTATE_UNLOCK indicates the session is locked.

from elgatolegacy.

thaboy1992 avatar thaboy1992 commented on July 1, 2024

from elgatolegacy.

atom0s avatar atom0s commented on July 1, 2024

This is now fixed in the latest release. :) v1.0.0.1
https://github.com/atom0s/ElgatoLegacy/releases/latest

from elgatolegacy.

Related Issues (17)

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.