FreeRDP
wlf_input.c File Reference
#include <stdlib.h>
#include <float.h>
#include <linux/input.h>
#include <winpr/assert.h>
#include <freerdp/config.h>
#include <freerdp/locale/keyboard.h>
#include <uwac/uwac.h>
#include "wlfreerdp.h"
#include "wlf_input.h"

Macros

#define TAG   CLIENT_TAG("wayland.input")
 

Functions

static BOOL scale_signed_coordinates (rdpContext *context, int32_t *x, int32_t *y, BOOL fromLocalToRDP)
 
BOOL wlf_handle_pointer_enter (freerdp *instance, const UwacPointerEnterLeaveEvent *ev)
 
BOOL wlf_handle_pointer_motion (freerdp *instance, const UwacPointerMotionEvent *ev)
 
BOOL wlf_handle_pointer_buttons (freerdp *instance, const UwacPointerButtonEvent *ev)
 
BOOL wlf_handle_pointer_axis (freerdp *instance, const UwacPointerAxisEvent *ev)
 
BOOL wlf_handle_pointer_axis_discrete (freerdp *instance, const UwacPointerAxisEvent *ev)
 
static BOOL wlf_handle_wheel (freerdp *instance, uint32_t x, uint32_t y, uint32_t axis, int32_t value)
 
BOOL wlf_handle_pointer_frame (freerdp *instance, const UwacPointerFrameEvent *ev)
 
BOOL wlf_handle_pointer_source (freerdp *instance, const UwacPointerSourceEvent *ev)
 
BOOL wlf_handle_key (freerdp *instance, const UwacKeyEvent *ev)
 
BOOL wlf_handle_ungrab_key (freerdp *instance, const UwacKeyEvent *ev)
 
BOOL wlf_keyboard_enter (freerdp *instance, const UwacKeyboardEnterLeaveEvent *ev)
 
BOOL wlf_keyboard_modifiers (freerdp *instance, const UwacKeyboardModifiersEvent *ev)
 
BOOL wlf_handle_touch_up (freerdp *instance, const UwacTouchUp *ev)
 
BOOL wlf_handle_touch_down (freerdp *instance, const UwacTouchDown *ev)
 
BOOL wlf_handle_touch_motion (freerdp *instance, const UwacTouchMotion *ev)
 

Macro Definition Documentation

◆ TAG

#define TAG   CLIENT_TAG("wayland.input")

FreeRDP: A Remote Desktop Protocol Implementation Wayland Input

Copyright 2014 Manuel Bachmann tarny.nosp@m.ko@t.nosp@m.arnyk.nosp@m.o.ne.nosp@m.t Copyright 2015 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ scale_signed_coordinates()

static BOOL scale_signed_coordinates ( rdpContext *  context,
int32_t *  x,
int32_t *  y,
BOOL  fromLocalToRDP 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_key()

BOOL wlf_handle_key ( freerdp *  instance,
const UwacKeyEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_pointer_axis()

BOOL wlf_handle_pointer_axis ( freerdp *  instance,
const UwacPointerAxisEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_pointer_axis_discrete()

BOOL wlf_handle_pointer_axis_discrete ( freerdp *  instance,
const UwacPointerAxisEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_pointer_buttons()

BOOL wlf_handle_pointer_buttons ( freerdp *  instance,
const UwacPointerButtonEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_pointer_enter()

BOOL wlf_handle_pointer_enter ( freerdp *  instance,
const UwacPointerEnterLeaveEvent *  ev 
)

FreeRDP: A Remote Desktop Protocol Implementation Wayland Input

Copyright 2014 Manuel Bachmann tarny.nosp@m.ko@t.nosp@m.arnyk.nosp@m.o.ne.nosp@m.t Copyright 2015 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_pointer_frame()

BOOL wlf_handle_pointer_frame ( freerdp *  instance,
const UwacPointerFrameEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_pointer_motion()

BOOL wlf_handle_pointer_motion ( freerdp *  instance,
const UwacPointerMotionEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_pointer_source()

BOOL wlf_handle_pointer_source ( freerdp *  instance,
const UwacPointerSourceEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_touch_down()

BOOL wlf_handle_touch_down ( freerdp *  instance,
const UwacTouchDown *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_touch_motion()

BOOL wlf_handle_touch_motion ( freerdp *  instance,
const UwacTouchMotion *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_touch_up()

BOOL wlf_handle_touch_up ( freerdp *  instance,
const UwacTouchUp *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_ungrab_key()

BOOL wlf_handle_ungrab_key ( freerdp *  instance,
const UwacKeyEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_handle_wheel()

static BOOL wlf_handle_wheel ( freerdp *  instance,
uint32_t  x,
uint32_t  y,
uint32_t  axis,
int32_t  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_keyboard_enter()

BOOL wlf_keyboard_enter ( freerdp *  instance,
const UwacKeyboardEnterLeaveEvent *  ev 
)
Here is the caller graph for this function:

◆ wlf_keyboard_modifiers()

BOOL wlf_keyboard_modifiers ( freerdp *  instance,
const UwacKeyboardModifiersEvent *  ev 
)
Here is the call graph for this function:
Here is the caller graph for this function: