Most interactions in an application are triggered by keyboard and mouse. (Mobile devices mostly use touches, and we’ll discuss those later.) In this chapter we’ll talk about how to handle them.