mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 02:55:42 +00:00
[KMS] Print device names when adding input devices
This commit is contained in:
parent
36bb366638
commit
4f037c882a
|
@ -372,14 +372,14 @@ namespace OpenTK.Platform.Linux
|
|||
{
|
||||
KeyboardDevice keyboard = new KeyboardDevice(device, Keyboards.Count);
|
||||
Keyboards.Add(keyboard.Id, keyboard);
|
||||
Debug.Print("[Input] Added keyboard device {0}", keyboard.Id);
|
||||
Debug.Print("[Input] Added keyboard device {0} '{1}'", keyboard.Id, keyboard.Name);
|
||||
}
|
||||
|
||||
if (LibInput.DeviceHasCapability(device, DeviceCapability.Mouse))
|
||||
{
|
||||
MouseDevice mouse = new MouseDevice(device, Mice.Count);
|
||||
Mice.Add(mouse.Id, mouse);
|
||||
Debug.Print("[Input] Added mouse device {0}", mouse.Id);
|
||||
Debug.Print("[Input] Added mouse device {0} '{1}'", mouse.Id, mouse.Name);
|
||||
}
|
||||
|
||||
if (LibInput.DeviceHasCapability(device, DeviceCapability.Touch))
|
||||
|
|
Loading…
Reference in a new issue