Keyboard optimizations by Divran
Keyboard optimizations by Divran

This is entirely Divrans code, I just checked it if it worked.
The only code from me is line 240 to prevent the Buffer from underflowing
(it was possible to have a negative amount of keys in the buffer)

See PR #235 for more information

sammyt291/wire,garrysmodlua/wire,notcake/wire,Grocel/wire,bigdogmat/wire,wiremod/wire,thegrb93/wire,mms92/wire,Python1320/wire,NezzKryptic/Wire,CaptainPRICE/wire,plinkopenguin/wiremod,mitterdoo/wire,rafradek/wire,dvdvideo1234/wire,immibis/wiremod