Skycoder42 / QHotkey

A global shortcut/hotkey for Desktop Qt-Applications
BSD 3-Clause "New" or "Revised" License
552 stars 162 forks source link

Listen keyboard #1

Closed gkhanacer closed 7 years ago

gkhanacer commented 7 years ago

Hi,

I'm trying to develop a keylogger with QHotkey for all platforms. So, I want to listen keyboard without signal/slot (connect). How can I use your code to listen system-wide keyboard?

Skycoder42 commented 7 years ago

Hi,

I'm sorry to tell you, but thats impossible with QHotkey, it's not designed for that. QHotkey uses native APIs to register single keys as hotkey. For a keylogger, you will have to use native api hooks, and thats a completly different thing.