Initial commit - from Precise source
[freerdp-ubuntu-pcb-backport.git] / server / X11 / xf_input.h
1 /**
2  * FreeRDP: A Remote Desktop Protocol Client
3  * X11 Server Input
4  *
5  * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *     http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19
20 #ifndef __XF_INPUT_H
21 #define __XF_INPUT_H
22
23 #include <pthread.h>
24
25 #include "xfreerdp.h"
26
27 void xf_input_synchronize_event(rdpInput* input, uint32 flags);
28 void xf_input_keyboard_event(rdpInput* input, uint16 flags, uint16 code);
29 void xf_input_unicode_keyboard_event(rdpInput* input, uint16 flags, uint16 code);
30 void xf_input_mouse_event(rdpInput* input, uint16 flags, uint16 x, uint16 y);
31 void xf_input_extended_mouse_event(rdpInput* input, uint16 flags, uint16 x, uint16 y);
32 void xf_input_register_callbacks(rdpInput* input);
33
34 #endif /* __XF_INPUT_H */