Events and real-time inputs do behave differently, however you can more or less simulate the real-time inputs with events. I suggest to read both the event and the input tutorial.
Events are basically triggered when you press or a release a key/mouse button, while with real time inputs, you just check the current state. So if you want "do something as long as this button is pressed" than it will work right away with real time inputs, but for events you need a variable to store the state, i.e. you set it when the pressed event happens and your reset it when the released event happens.
Alternatively you can also check out
Thor's action system, but if you're just starting out, this might seem a bit too complex.