1 //
2 // Copyright (c) 2010-2018 Antmicro
3 // Copyright (c) 2011-2015 Realtime Embedded
4 //
5 // This file is licensed under the MIT License.
6 // Full license text is available in 'licenses/MIT.txt'.
7 //
8 namespace Antmicro.Renode.Backends.Display.XInput
9 {
10 	public interface IInputHandler
11 	{
ButtonPressed(int button)12         void ButtonPressed(int button);
ButtonReleased(int button)13         void ButtonReleased(int button);
14 
KeyPressed(int key)15         void KeyPressed(int key);
KeyReleased(int key)16         void KeyReleased(int key);
17 
MouseMoved(int x, int y, int dx, int dy)18 		void MouseMoved(int x, int y, int dx, int dy);
19 
20 		bool Stop { get; set; }
21 		bool CursorFixed { get; }
22 	}
23 }
24 
25