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

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.

主站蜘蛛池模板: 屏东市| 内丘县| 大埔区| 钦州市| 曲水县| 宁明县| 靖江市| 沛县| 海安县| 清苑县| 沙洋县| 南昌市| 晋中市| 金平| 商洛市| 和平县| 阿巴嘎旗| 岳池县| 唐山市| 泰顺县| 枝江市| 延长县| 温宿县| 盖州市| 涡阳县| 利津县| 团风县| 德保县| 桓台县| 铜山县| 绵阳市| 苍山县| 三明市| 和平区| 花莲市| 商城县| 永嘉县| 岳普湖县| 山西省| 平罗县| 叙永县|