A keyboard can be either flat or curved, with the former being more common in modern keyboards. The reason for this is that they are designed so you do not have to reach beyond your desk when typing.