跳到主要内容

初始化屏幕方向 (screen.init)

函数

screen.init(坐标系) 

参数

  • 坐标系 整数型

    0 表示 home键在下

    1 表示 home 键在右

    2 表示 home 键在左

说明

初始化取色或坐标系的方向

示例

screen.init(0) -- 设置home键在下
screen.init(1) -- 设置home键在右
screen.init(2) -- 设置home键在左