Is there sth like "Event.current.isAxis?"

Hi there! I want a keybinding system. After researching for way to many hours, I dont really know if its even possible… For my flightsimulator, you should be able to set the axes of the controllers to do things. but how can I do that?

This is how I did it for keys:

    void OnGUI()
    {
        Event e = Event.current;
        if (e.isKey)
        {
            Debug.Log("Detected character: " + e.keyCode);
            //it displays the key you press.
        }
    }

Now How can I display axes from controllers/joysticks?

Thanks for help, Jonas

Use unity official Input System package. It has built in crossplatform input, rebinding, everything you need. Using Event.current to determine stuff isn’t something I would use honestly.