public override bool IsPressed(Buttons button)
{
if (button == Buttons.A)
if (curr_keyboard.IsKeyDown(Keys.Space) && prev_keyboard.IsKeyUp(Keys.Space))
return true;
Keys key = button_map[button];
return curr_keyboard.IsKeyDown(key) && prev_keyboard.IsKeyUp(key);
}