LXC Steam Container and Xbox360 Controller Not Fully Working

Hi- There are several good online guides showing how to create a Steam LXC Container using Lxd. The guides take you through adding a display server, pulse audio pass through as well as adding a GPU. The guides really do not include adding controller support which in my case is a wireless usb dongle with a Xbox 360 server. Hoping other can benefit from my work and believe I was able to get the device working using hot plug device as follows:

xbox:
gid: “1000”
mode: “0777”
productid: “0719”
type: unix-hotplug
uid: “1000”
vendorid: 045e

I also added, but not really sure it is needed:

uinput:
gid: “1000”
mode: “0777”
path: /dev/uinput
type: unix-char
uid: “1000”

The result is that when pluging in the usb dongle it appears to create all the appropriate /dev/input references such as js0, event7 and by-id in the steam container. This all seems correct and Steam recognizes the Xbox 360 controller as an xpad controller which provides support for Big Picture navigation in GUI, but is not natively recognized in games that support a controller. The games thinks you are using a keyboard and mouse.

I did some trouble shooting and also installed the snap Steam package. The controller works correctly in games in the Steam Snap and I took a look at the controller.txt logs. Here is what I discovered:

LXC Steam

Local Device Found
type: 045e 02a1
path: sdl://1
serial_number: - 0
[2023-10-26 03:25:04] Manufacturer:
[2023-10-26 03:25:04] Product: X360 Wireless Controller
[2023-10-26 03:25:04] Release: 100
[2023-10-26 03:25:04] Interface: -1

[2023-10-26 03:25:04] !! Steam controller device opened for index 0.
[2023-10-26 03:25:04] Steam Controller reserving XInput slot 0
[2023-10-26 03:25:05] Controller PollState Changed from 0 to 1
[2023-10-26 03:25:18] Disconnecting zombie controller 0

Snap Steam

2023-10-25 23:10:22] Client version: 1698260427
[2023-10-25 23:10:22] Local Device Found
type: 045e 02a1
path: sdl://1
serial_number: - 0
[2023-10-25 23:10:22] Manufacturer:
[2023-10-25 23:10:22] Product: X360 Wireless Controller
[2023-10-25 23:10:22] Release: 100
[2023-10-25 23:10:22] Interface: -1

[2023-10-25 23:10:22] !! Steam controller device opened for index 0.
[2023-10-25 23:10:22] Steam Controller reserving XInput slot 0
[2023-10-25 23:10:23] Controller PollState Changed from 0 to 1
[2023-10-25 23:10:24] Opted-in Controller Mask for AppId 0: 0


The paths are the same in both logs and both show the controller correctly. The zoombie reference in the LXC is concerning.

Any thoughts how to trouble shoot the issue would be greatly appreciated. There must be clues in the Snap Steam setup to get this working, but I am not knowledgeable enough to review. There seems to be some udev steam config for controllers that show online, but not sure if these are needed.

Again, thanks for any help.