官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 桂林市| 漯河市| 凌云县| 田东县| 贵港市| 怀柔区| 安仁县| 肇东市| 长沙市| 乌鲁木齐市| 兴业县| 车致| 九江县| 安阳市| 措勤县| 富川| 慈利县| 岗巴县| 康平县| 洪雅县| 江达县| 玉田县| 阿城市| 遂平县| 江门市| 越西县| 中超| 杨浦区| 明光市| 讷河市| 墨脱县| 岳池县| 天峨县| 内江市| 安阳市| 锡林浩特市| 拜泉县| 阿拉尔市| 临江市| 荣昌县| 富锦市|