ignacioxd/pupil-remote-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ignacioxd/pupil-remote-php

Composer 安装命令:

composer require ignacioxd/pupil-remote-php

包简介

A simple PHP remote control client for the Pupil eye tracker software.

README 文档

README

Total Downloads Latest Stable Version License

A simple PHP remote control client for the Pupil eye tracker software.

Installation

The package is available on Packagist, and you can install it using Composer:

composer require ignacioxd/pupil-remote-php

Dependencies

Basic usage

Connecting

$host = "127.0.0.1";
$port = 50020;
$remote = new \Ignacioxd\PupilRemote();
$remote->connect($host, $port); // Or leave empty for defaults

Getting Pupil's timebase

$pupilTime = $remote->getTimebase();

Setting Pupil's timebase

$remote->setTimebase(123.456);

Starting calibration

if( $remote->startCalibration() ) {
  echo "Calibration started";
}

Stopping calibration

if( $remote->stopCalibration() ) {
  echo "Calibration stopped";
}

Start recording

if( $remote->startRecording() ) {
  echo "Recording started";
}

Stop recording

if( $remote->stopRecording() ) {
  echo "Recording stopped";
}

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固