Permalink
Browse files

[KMS] Print device names when adding input devices

  • Loading branch information...
1 parent 36bb366 commit 4f037c882abfdd00a92062de8fcd7b25698b1425 @thefiddler thefiddler committed Jul 17, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/OpenTK/Platform/Linux/LinuxInput.cs
@@ -372,14 +372,14 @@ void HandleDeviceAdded(IntPtr context, IntPtr device)
{
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))

0 comments on commit 4f037c8

Please sign in to comment.