logo

Virtual Keyboard

A GUI application made in python using tkinter

This is my first ever proper GUI based application project after learning tkinter recently. I made it to practice and get more used to working with tkinter

Features

  • You can open the keyboard settings menu with the button in the bottom right corner
  • The keyboard is stored as a class named VirtualKeyboard, which you can import and use VirtualKeyboard().start() to use the virtual keyboard
  • The keyboard comes in 5 sizes:
    • Very Small
    • Small
    • Medium
    • Large
    • Very Large
  • You can also change the opacity of the keyboard window! Opacity ranges from 30% to 100%
  • You can pin the keyboard so that it always stays on top of other windows. Opacity setting makes it really nice to use while pinned to the top.
  • For the CTRL, SHIFT, ALT and WIN (special) keys, you can right click any of these to hold down them for as long as you want until you right click them again (like how we sometimes just hold the shift key to type instead of pressing CAPSLOCK)
  • Adding to the last point, left clicking any of the 4 special keys will temporarily press them till you click any other key (excluding other special keys) (kind of like how we use CTRL+C or CTRL+ALT+DELETE)
  • Has a cute logo

Requirements

Only needs the keyboard module to work properly.
How to install the keyboard module through cmd:

pip install keyboard

Read more about the keyboard module

Note

  • The program will flash everytime you press any key (trying my best to fix)
  • It might lose focus of the window you were typing in sometimes, so just pin the keyboard and click once wherever you want to enter the text; it will work 98% of the time.

Screenshots

s1main
s6shift
s2settings
s3vsmall30
s4vlarge70
s5fun

Thank You!

Enjoy the program ?
I would really appreciate some feedback and tips!

( fun thing to do: add any PNG image in the same folder as the main python file and name it “vkblogo.png”…. it should become the icon in the title bar of the keyboard ? )