Renamed Sdl2InputBase to Sdl2InputDriver

Sdl2InputDriver describes the role and function of this class more
accurately.
This commit is contained in:
Stefanos A. 2013-09-30 13:13:02 +02:00
parent 7cb3965e25
commit 2d19edf3fe
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ namespace OpenTK.Platform.SDL2
{
class Sdl2Factory : IPlatformFactory
{
readonly IInputDriver2 InputDriver = new Sdl2InputBase();
readonly IInputDriver2 InputDriver = new Sdl2InputDriver();
public Sdl2Factory()
{

View file

@ -33,13 +33,13 @@ using OpenTK.Input;
namespace OpenTK.Platform.SDL2
{
class Sdl2InputBase : IInputDriver2
class Sdl2InputDriver : IInputDriver2
{
readonly Sdl2Keyboard keyboard_driver = new Sdl2Keyboard();
readonly Sdl2Mouse mouse_driver = new Sdl2Mouse();
readonly SDL.SDL_EventFilter EventFilterDelegate;
public Sdl2InputBase()
public Sdl2InputDriver()
{
EventFilterDelegate = FilterInputEvents;
SDL.SDL_AddEventWatch(EventFilterDelegate, IntPtr.Zero);