lsteamclient: Use a dict for SDK sources / class mapping.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-09-20 21:15:40 +02:00
parent 732ee565b5
commit 7f722fb6d1
2 changed files with 40 additions and 34 deletions

View File

@ -100,6 +100,9 @@ SDK_SOURCES = [
),
]
SDK_CLASSES = {klass: source for source, klasses in SDK_SOURCES.items()
for klass in klasses}
STRUCTS_NEXT_IS_SIZE = [
"VREvent_t",
"VRControllerState001_t",