mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 18:45:34 +00:00
Renamed Sdl2InputBase to Sdl2InputDriver
Sdl2InputDriver describes the role and function of this class more accurately.
This commit is contained in:
parent
7cb3965e25
commit
2d19edf3fe
|
@ -33,7 +33,7 @@ namespace OpenTK.Platform.SDL2
|
|||
{
|
||||
class Sdl2Factory : IPlatformFactory
|
||||
{
|
||||
readonly IInputDriver2 InputDriver = new Sdl2InputBase();
|
||||
readonly IInputDriver2 InputDriver = new Sdl2InputDriver();
|
||||
|
||||
public Sdl2Factory()
|
||||
{
|
||||
|
|
|
@ -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);
|
Loading…
Reference in a new issue