input: convert the kscan_sdl driver from kscan to input

Convert the SDL driver to use the input subsystem. This is specifically
meant to emulate touchscreen drivers, so it's setup to send triplet of
x, y, touch for touch-on events and just touch off on touch off events.

Renamed the driver to input-sdl-touch since now we can also develop an
sdl driver for simulating key events.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-04-04 12:17:38 +01:00 committed by Carles Cufí
commit b76ac9a851
11 changed files with 86 additions and 130 deletions

View file

@ -1,8 +0,0 @@
# Copyright (c) 2022 Kumar Gala <galak@kernel.org>
# SPDX-License-Identifier: Apache-2.0
description: SDL based emulated keyboard matrix devices
compatible: "zephyr,sdl-kscan"
include: kscan.yaml