HEX
Server: nginx/1.24.0
System: Linux ip-172-31-22-109 6.17.0-1012-aws #12~24.04.1-Ubuntu SMP Mon Apr 6 17:36:28 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-6.17.0-1013-aws/include/linux/input/touch-overlay.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2023 Javier Carrasco <javier.carrasco@wolfvision.net>
 */

#ifndef _TOUCH_OVERLAY
#define _TOUCH_OVERLAY

#include <linux/types.h>

struct input_dev;

int touch_overlay_map(struct list_head *list, struct input_dev *input);

void touch_overlay_get_touchscreen_abs(struct list_head *list, u16 *x, u16 *y);

bool touch_overlay_mapped_touchscreen(struct list_head *list);

bool touch_overlay_process_contact(struct list_head *list,
				   struct input_dev *input,
				   struct input_mt_pos *pos, int slot);

void touch_overlay_sync_frame(struct list_head *list, struct input_dev *input);

#endif