Giter Club home page Giter Club logo

Comments (6)

jtroo avatar jtroo commented on September 3, 2024

Which variant are you using? Also please add the debug logs

from kanata.

NotLavish avatar NotLavish commented on September 3, 2024

https://github.com/jtroo/kanata/releases/tag/v1.7.0-prerelease-1 kanata.exe from assets.
also i just tried it using kanata_gui.exe from the same assets and printscreen works now and i checked but it doesn't work on kanata.exe

debug logs:

15:02:00.0910 [INFO] Entered layer:

(deflayer one
@cap PrintScreen del
up left down rght
)
15:02:00.1638 [DEBUG] (1) kanata_state_machine::kanata::windows::llhook: event loop: KeyEvent { code: KEY_Y (89), value: Press }
15:02:00.1642 [DEBUG] (2) kanata_state_machine::kanata: process recv ev KeyEvent { code: KEY_Y (89), value: Press }
15:02:00.1644 [DEBUG] (2) kanata_state_machine::kanata: key press PScreen
15:02:00.2868 [DEBUG] (1) kanata_state_machine::kanata::windows::llhook: event loop: KeyEvent { code: KEY_Y (89), value: Release }
15:02:00.2870 [DEBUG] (2) kanata_state_machine::kanata: process recv ev KeyEvent { code: KEY_Y (89), value: Release }
15:02:00.2871 [DEBUG] (2) kanata_state_machine::kanata: key release PScreen
15:02:00.3858 [DEBUG] (1) kanata_state_machine::kanata::windows::llhook: event loop: KeyEvent { code: KEY_Y (89), value: Press }
15:02:00.3860 [DEBUG] (2) kanata_state_machine::kanata: process recv ev KeyEvent { code: KEY_Y (89), value: Press }
15:02:00.3862 [DEBUG] (2) kanata_state_machine::kanata: key press PScreen
15:02:00.5088 [DEBUG] (1) kanata_state_machine::kanata::windows::llhook: event loop: KeyEvent { code: KEY_Y (89), value: Release }
15:02:00.5098 [DEBUG] (2) kanata_state_machine::kanata: process recv ev KeyEvent { code: KEY_Y (89), value: Release }
15:02:00.5101 [DEBUG] (2) kanata_state_machine::kanata: key release PScreen
15:02:00.7058 [DEBUG] (1) kanata_state_machine::kanata::windows::llhook: event loop: KeyEvent { code: KEY_CAPSLOCK (20), value: Release }
15:02:00.7071 [DEBUG] (2) kanata_state_machine::kanata: process recv ev KeyEvent { code: KEY_CAPSLOCK (20), value: Release }
15:02:00.7073 [INFO] Entered layer:

(deflayer default
@cap _ _


)

from kanata.

rpnfan avatar rpnfan commented on September 3, 2024

For me on 1.7 pre-release 1 prtsc works fine on Windows.

from kanata.

jtroo avatar jtroo commented on September 3, 2024

Hm maybe there's some window permission issue here. Kanata is sending all the right events.

from kanata.

NotLavish avatar NotLavish commented on September 3, 2024

yeah probably something from my side since only the kanata.exe doesn't work and the kanata_gui.exe works and 1.6 also works

from kanata.

jtroo avatar jtroo commented on September 3, 2024

That's an interesting observation. All of these use different bits of Windows I/O:

  • kanata.exe 1.6 : no flags
  • kanata.exe 1.7 : win_sendinput_send_scancodes
  • kanata_gui.exe : win_sendinput_send_scancodes,win_llhook_read_scancodes

from kanata.

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.