- Kivy Cookbook
- Hugo Solis
- 119字
- 2021-07-16 20:39:56
Introduction
The Kivy framework is able to handle most common types of input and actions such as mouse, touchscreen, accelerometer, and gyroscope that will be reviewed in this chapter. It handles the native multitouch protocols on the following platforms: Tuio, WM_Touch, MacMultitouchSupport, MT Protocol A/B, and Android.
The class of all input events is motion event. It generates two kinds of events; one of them is touch events—a motion event that contains at least an x and y position. All the touch events are dispatched across the widget tree. The no-touch events are the rest. The accelerometer is a continuous event, without position. It never starts or stops. These events are not dispatched across the widget tree.
推薦閱讀
- .NET之美:.NET關(guān)鍵技術(shù)深入解析
- 密碼學(xué)原理與Java實現(xiàn)
- Vue.js前端開發(fā)基礎(chǔ)與項目實戰(zhàn)
- C語言程序設(shè)計
- Hands-On Swift 5 Microservices Development
- OpenStack Orchestration
- Access 2010數(shù)據(jù)庫應(yīng)用技術(shù)(第2版)
- Visual Basic 6.0程序設(shè)計實驗教程
- PhoneGap 4 Mobile Application Development Cookbook
- C語言程序設(shè)計
- Mastering Embedded Linux Programming
- Elasticsearch Blueprints
- 創(chuàng)新工場講AI課:從知識到實踐
- Learning Redux
- Learning Perforce SCM