Hi Chris,
I am trying to set up a multiplayer game where separate keyboards control
two avatars on the same screen. When I tried to start the demo you sent
initially, I got the ‘multiple matching HID devices’ error pasted below. I
was able to run the demo by specifying preferred_location_id as prompted.
My question is if I want to allow for input from two keyboards, is there a
way to read key presses from both?
ERROR: Found multiple matching HID devices for “joystick”:
Device #1
Product: Apple Internal Keyboard / Trackpad
Manufacturer: Apple Inc.
Location ID: 2152726528 (0x80500000)
Device #2
Product: Magic Keyboard with Numeric Keypad
Manufacturer: Apple
Location ID: 343706896 (0x147c8d10)
Device #3
Please set the “preferred_location_id” attribute to the Location ID of the
desired device.
Thanks,
Ruidong