img_key Key widget allows you to send keyboard keys to dosbox. Touch down does key down and touch up key up.

The key widget is one of the two most important widgets in MagicBox. It allows you to send keyboard events to dosbox. In widget options you see settings for first and second tap. If you enable first tap, than key is emulated quickly. But when both taps are enabled than magicbox waits for a while and checks for second tap.  It is slower, but spare place on the screen. Chosen key code can be affected with ctrl, alt and shift.