wlmaker
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
keyboard.h File Reference
#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_seat.h>
#include "server.h"
Include dependency graph for keyboard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _wlmaker_keyboard_t wlmaker_keyboard_t
 

Functions

wlmaker_keyboard_twlmaker_keyboard_create (wlmaker_server_t *server_ptr, struct wlr_keyboard *wlr_keyboard_ptr, struct wlr_seat *wlr_seat_ptr)
 
void wlmaker_keyboard_destroy (wlmaker_keyboard_t *keyboard_ptr)
 

Detailed Description

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

https://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.

Typedef Documentation

◆ wlmaker_keyboard_t

Type of the keyboard handle.

Function Documentation

◆ wlmaker_keyboard_create()

wlmaker_keyboard_t * wlmaker_keyboard_create ( wlmaker_server_t server_ptr,
struct wlr_keyboard *  wlr_keyboard_ptr,
struct wlr_seat *  wlr_seat_ptr 
)

Creates a handle for a registered keyboard.

Parameters
server_ptr
wlr_keyboard_ptr
wlr_seat_ptr
Returns
The handle or NULL on error. Free via wlmaker_keyboard_destroy().

◆ wlmaker_keyboard_destroy()

void wlmaker_keyboard_destroy ( wlmaker_keyboard_t keyboard_ptr)

Destroys the keyboard handle.

Parameters
keyboard_ptr