title: How to listen letter keys with combination of modifier keys using pynput?
body: <p>I am tying to automate some stuff using python.I use pynput to listen key combinations. I am trying to listen ctrl+shift+alt s combination. I have no problem with modifier keys but only with letter keys. I have looked the python documentation page and tried followings:</p>
  
  <pre><code>from pynput import keyboard
  from subprocess import Popen, PIPE
  from evdev import uinput, ecodes as e
  import os
  
  # The key combination to check
  COMBINATION = {keyboard.Key.shift, keyboard.Key.ctrl, keyboard.Key.alt, keyboard.KeyCode.from_char('k')}
  
  # The currently active modifiers
  current = set()
  
  def on_press(key):
      if key in COMBINATION:
          current.add(key)
          if all(k in current for k in COMBINATION):
              print("x")
      if key == keyboard.Key.esc:
          listener.stop()
  
  def on_release(key):
      try:
          current.remove(key)
      except KeyError:
          pass
  
  with keyboard.Listener(on_press=on_press, on_release=on_release) as listener:
          listener.join()
  </code></pre>
  
  <p>After running the python file from terminal, script cannot detect my key combination. </p>