Skip to content

v2.0.0

Compare
Choose a tag to compare
@spacether spacether released this 21 Dec 22:54
· 3 commits to master since this release
587cf0d

keyboardlayout 2.0.0

  • Breaking: KeyboardLayout layout_name input type changed from str to LayoutName enum
  • Fixed typo in readme code sample
  • Python samples renamed to include pygame_ or tkinter_ prefix
  • Adds init docstrings to KeyboardInfo, KeyInfo
  • Adds Rect class used by the KeyboardLayoutInterface
  • Adds a Key enum to store all possible keys for each backend
  • Breaking: Changes update_key to ingest the Key enum
  • Adds get_key method to get the key constant that is used to update keys
  • Breaking KeyboardLayout class must now be imported from the pygame or tkinter submodules
  • Breaking: pygame removed from the dependency list, if using the pygame backend
    the developer must install it into their environment