This video explains how to handle keyboard input and draw an image onto the screen using the Ebitengine game engine.
https://trevors-tutorials.com/0004-creating-your-first-game-with-ebitengine/
0:00 Intro and Table of Contents
0:31 Origin Point
1:11 Tick Rate
2:03 Handling Keyboard Input
2:35 Simulating Gravity
3:07 Moving the Character
3:38 Handling Collisions
4:20 Embedding Assets
4:49 Loading and Drawing Images