bkb is a program to control keyboard/mouse with eyes(1)

bkb is a  program  to control keyboard/mouse with eyes 
It supports The Eye Trybe eye tracker, TobiiREX eye tracker, and any device that can move a mouse cursor (e.g. an airmouse).

Program  and the source code are available for download here:
https://github.com/MastaLomaster/bkb


Installation
Just unzip the bkb32c-English.zip to any folder. Make sure that this folder remains the working directory of the program . Otherwise the  program  won't load messages.bkb and keyboard.bkb files, and you'll get Russian interface  instead of English one.

(updated)  
To run the  program  you also need Microsoft Visual C++ Redistributable for Visual Studio 2012 Update 4 . It can be downloaded here:

http://www.microsoft.com/en-us/download ... x?id=30679

If it is not installed, you'll get the error message complaining that the file "msvcrt110.dll" cannot be found.

Using the program with The Eye Tribe tracker

The " Eye Tribe Server" program  must be running. Also you need to calibrate the device with the " Eye Tribe UI" before running the bkb32c.exe

Using the program with the Tobii REX eye tracker

(updated)
You need the "TobiiGazeCore32.dll" file from the Tobii Gaze SDK 4.0 to be copied to the working directory of the program . By the way, I found it in my "C:\ Program  Files (x86)\Tobii\Tobii EyeX" directory after installing the "Tobii Eye Experience". Alternatively, Gaze SDK 4.0 can be downloaded from: http://developer.tobii.com/downloads/  (registration required). Look for the "TobiiGazeSdk-CApi-4.0.X.XXX-Win32" file, where X-current release numbers.

Before starting the  program , visit Windows Control Panel, run the "Tobii EyeX Settings (32 bit)"  program , and calibrate the device.

Keyboard click sounds
There is a click sound when you press the keyboard buttons. If you don't like the sound, place a WAV-file with the desired sound into the working directory of the program and name it "click.wav" .

Basic work principles
After  program  started and a supported device is selected, you may see the toolbar on the right side. If you ise an eye tracker, the transparent window with the cursor will be shown, it will follow your eyes movements. When using an [air]mouse, the regular cursor 光标 is used. To select a tool fixate 注视 your eyes on the tool button.

Take a look at these videos to understand the modes of operation:

http://youtu.be/O68C4d2SNC8 打不开

**IMPORTANT**:  choose Swahili language to watch English subtitles. 选择斯瓦希里语的语言看英文字幕Sorry, I don't know other ways to switch off the subtitles字幕 by default.

http://youtu.be/rqcN9IZ39_4 打不开

Known issues
- no easy way to exit the  program . One have to close windows in the task bar没有简单的方法来退出程序
- doesn't work with fullscreen applacations so far不能使用全屏
-doesn't work with the Metro-style  interface  of Windows 8/8.1 , you have to use good old desktop
- drag-and-drop doesn't work in some cases, for example you cannot move desktop icons on some PCs 在某些情况下 拖拽不起作用,例如在一些电脑上不能移动桌面图标
- windows moved and doesn't work properly after logout/switch user   窗口移动、注销/切换用户后不能正常工作
- you cannot define timings (keyboard press, fixations, etc.) [fixed]你不能定义时间
- impossible to click with a mouse holding the keyboard button pressed (e.g. Ctrl + click) [fixed]键盘按钮按下时无法用鼠标
- and many more small things....

Translate to other languages:
One can easily translate the User  Interface  and modify a keyboard. Just edit the "messages.bkb " and " keyboard.bkb " files. These are text unicode files. But (!) the file format and contents can be changed in future!!!

Compiling the source codes编译源代码
(updated)  
As for now, you have to use Microsoft Visual Studio 2012 (latest update preferred). This is due to the fact that the libraries used (from the Tobii Gaze SDK 4.0) are compiled the same way.

In the project properties enable unicode support

Include directories must contain the "include" one from the Tobii Gaze SDK 4.0. Gaze SDK 4.0 can be downloaded from:  http://developer.tobii.com/downloads/  (registration required). Look for the "TobiiGazeSdk-CApi-4.0.X.XXX-Win32" file, where X-current release numbers.

No Tobii Gaze SDK libraries needed during the compilation/build. 

You need just standard Windows libraries: Ws2_32.lib, winmm.lib,Msimg32.lib

The project must be linked dynamically动态链接to the MSVCRT110.dll, if you link statically, this will be in conflict with the Tobii Gaze SDK libraries used!

原文地址http://theeyetribe.com/forum/viewtopic.php?f=22&t=182&p=973&hilit=Application+Program+Interface&sid=2bce1997e25b8a57bf2b1d53596b2f81#p973

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值