Example #1
0
    void CreateGamepad(int deviceId, UnGamepadConfig config)
    {
        UnGamepadDevice gamepad = new UnGamepadDevice();

        gamepad.config   = config;
        gamepad.deviceId = deviceId;

        AddDevice(gamepad);
    }
	void CreateGamepad (int deviceId, UnGamepadConfig config)
	{
		UnGamepadDevice gamepad = new UnGamepadDevice ();
		gamepad.config = config;
		gamepad.deviceId = deviceId;

		AddDevice (gamepad);
	}