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

  • 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.

主站蜘蛛池模板: 汉沽区| 乌鲁木齐市| 瑞安市| 淅川县| 柯坪县| 青岛市| 江西省| 合作市| 久治县| 察哈| 承德县| 久治县| 余江县| 崇仁县| 辽阳市| 清涧县| 当阳市| 灵寿县| 商南县| 海安县| 焦作市| 安徽省| 赫章县| 江阴市| 紫阳县| 商都县| 无棣县| 汕尾市| 合川市| 邛崃市| 抚宁县| 丰台区| 鹤壁市| 南丹县| 锦屏县| 齐河县| 和田县| 龙胜| 托克逊县| 石泉县| 永善县|