Device which incodes characters by the depression of keys is known as:

A ) Printer

B ) Keyboard ✅

C ) Mouse

D ) Hard drive