|0.1.4||Oct 3, 2020|
|0.1.3||Sep 29, 2020|
|0.1.2||Jul 21, 2020|
|0.1.0||Jul 18, 2020|
#554 in Hardware support
21 downloads per month
libeyelink-sys crate provides declarations and linkage for the
libeyelink_core_graphics C libraries. Following the
*-sys package conventions, the
libeyelink-sys crate does not define
higher-level or safe abstractions over the native library functions.
The bindings were generated automatically with bindgen:
bindgen /usr/include/core_expt.h -o src/base.rs --with-derive-default
sdl-graphics feature is enabled, the bindings are generated from:
bindgen /usr/include/sdl_expt.h -o src/sdl-graphics.rs --blacklist-function '^str.*' --blacklist-function '.*cvt.*' --with-derive-default
You must have the Linux Eyelink SDK installed from SR Research. Steps to install:
- Add signing key
$ wget -O - "http://download.sr-support.com/software/dists/SRResearch/SRResearch_key" | sudo apt-key add -
- Add apt repository
$ sudo add-apt-repository "deb http://download.sr-support.com/software SRResearch main" $ sudo apt-get update
- Install latest release of EyeLink Developers Kit for Linux
Alternatively, a tar of DEBs is available at this link.
$ sudo apt-get install eyelink-display-software
This crate has only been tested on Ubuntu 18.04.
libeyelink-sys as a dependency in
[dependencies] libeyelink-sys = "0.1"
The best source for help on the API is the native documentation: