《Introducing the Zephyr Input subsystem.pdf》由會員分享,可在線閱讀,更多相關《Introducing the Zephyr Input subsystem.pdf(43頁珍藏版)》請在三個皮匠報告上搜索。
1、#EMBEDDEDOSSUMMITIntroducing the Zephyr Input SubsystemFabio Baltieri,G APIszephyr/include/zephyr/drivers/kscan.hhttps:/ listenerhttps:/ use caseshttps:/ APIshttps:/ a touchscreen!https:/ even tryhttps:/ not an input device,its a sensorhttps:/ attemptsDevice specific:touchscreen APIhttps:/ Specifich
2、ttps:/ Input EventsAllocate your devicehttps:/ capabilitieshttps:/ a devicehttps:/ reports and synchttps:/ events from/dev/input/eventhttps:/ ImplementationZephyr Input Subsystem proposal#54622https:/ a many-to-many model,register listeners at build time-Support events from any type of input device
3、without special functions-Backwards compatible with kscan-Provide a framework for extensibilityInput Event structurehttps:/ API:gpio-keyshttps:/ API:touchscreenhttps:/ APIhttps:/ of operationhttps:/ compatibilityhttps:/ compatibilityhttps:/ and event reprocessinghttps:/ SystemsZbushttps:/docs.zephyr
4、project.org/latest/services/zbus/index.htmlZMK event systemhttps:/ event processinghttps:/ event managerhttps:/ now?State of the Input subsystemhttps:/ Finish converting the existing drivers Zbus integration Add some common code for keyboard scanning matrixes Write native sinks for LVGL Deprecate KscanSend patches!https:/docs.zephyrproject.org/latest/contribute/guidelines.html#EMBEDDEDOSSUMMITQuestions