d2d.sdl2.InputSource

Input Source

Members

Classes

InputSource
class InputSource(T)

A source of input from the user Handles acculmulating events and storing all the states of all the pressables The template parameter is the type for the identifier of all pressables

Pressable
class Pressable(T)

A pressable input source that stores it's own state State gets updated by an InputSource class that contains the pressable

Meta