In this example application, we demonstrate how to interact with Unreal's Enhanced Input system.
Before running this example, rename user_config.yaml.example
to user_config.yaml
and modify the contents appropriately for your system, as described in our Getting Started tutorial. Your user_config.yaml
file only needs to specify the value of a parameter if it differs from the defaults defined in the python/spear/config
directory. You can browse this directory for a complete set of all user-configurable parameters.
You can run this example as follows.
python run.py
You should see a game window appear, with some debug text printed in the game viewport indicating that an enhanced input event has been processed.