who is given credit for inventing the keyboard as we know it today?

just now 1
Nature

The person credited with inventing the keyboard as we know it today is Christopher Latham Sholes. He invented the first practical typewriter and introduced the QWERTY keyboard layout, which was designed in the 1870s to prevent jamming of mechanical keys by spacing out frequently used letter combinations. Sholes, along with collaborators Samuel W. Soule, Carlos Glidden, and John Pratt, developed the typewriter and keyboard layout that laid the foundation for modern keyboards. The QWERTY layout was finalized and popularized after being acquired and manufactured by E. Remington and Sons in the 1870s, and it remains the standard keyboard layout used widely today. Sholes also introduced the Shift key in 1878 for uppercase and lowercase letters.