mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 20:35:31 +00:00
672a82983a
Updated the ExampleLauncher to not process exceptions. Updated the IExample interface to contain the Launch method. Updated examples and the ExampleLauncher according to the IExample interface. Synced with gl3 branch.
33 lines
768 B
C#
33 lines
768 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Input
|
|
{
|
|
public interface IInputDevice
|
|
{
|
|
string Description { get; }
|
|
InputDeviceType DeviceType { get; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// The type of the input device.
|
|
/// </summary>
|
|
public enum InputDeviceType
|
|
{
|
|
/// <summary>
|
|
/// Device is a keyboard.
|
|
/// </summary>
|
|
Keyboard,
|
|
/// <summary>
|
|
/// Device is a mouse.
|
|
/// </summary>
|
|
Mouse,
|
|
/// <summary>
|
|
/// Device is a Human Interface Device. Joysticks, joypads, pens
|
|
/// and some specific usb keyboards/mice fall into this category.
|
|
/// </summary>
|
|
HID
|
|
}
|
|
} |