- 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.
推薦閱讀
- Apache Oozie Essentials
- The Modern C++ Challenge
- 算法零基礎一本通(Python版)
- 零基礎學Scratch少兒編程:小學課本中的Scratch創意編程
- Machine Learning with R Cookbook(Second Edition)
- Architecting the Industrial Internet
- Internet of Things with the Arduino Yún
- Learning Firefox OS Application Development
- MATLAB定量決策五大類問題
- INSTANT Passbook App Development for iOS How-to
- Mastering Akka
- INSTANT Yii 1.1 Application Development Starter
- Visual Basic程序設計習題與上機實踐
- Visual Basic程序設計(第三版)
- 深入解析Java編譯器:源碼剖析與實例詳解