8000 GitHub - janfitz/bkb: Control keyboard/mouse with the eyetrackers: Tobii Eye Tracker 4C, EyeX, REX, TheEyeTribe, Gazepoint GP3. Also computer control by turning the head along with an Airmouse is supported.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ bkb Public
forked from MastaLomaster/bkb

Control keyboard/mouse with the eyetrackers: Tobii Eye Tracker 4C, EyeX, REX, TheEyeTribe, Gazepoint GP3. Also computer control by turning the head along with an Airmouse is supported.

Notifications You must be signed in to change notification settings

janfitz/bkb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

Fork form @MastaLomastar repository - all credits to him For English scroll down.

Česky / Czech

bkb je software pro ovládání myši/klávesnice díky pohybu očí pomocí jednoho z následujích eyetrackerů: TobiiREX, Tobii EyeX, Tobii Eye Tracker 4C (pouze 32-bitová kopie softwaru bkb32*.exe), The EyeTribe a Gazepoint GP3. Zároveň je možné ovládat myš/klávesnici pomocí pohybů hlavy pomocí příslušných polohovacích zařízení (například airmouse).

Instalace

Stačí pouze rozbalit příslušnou jazykovou verzi softwaru ze složky exe. Je nezbytné, aby pracovní složba obsahovala všechny přiložené soubory. V opačném případě nebude správně nastaveno lokalizační prostředí a použije se jako výchozí jazyk ruština.

K běhu programu je nezybtná instalace Microsoft Visual C++ pro Visual Studio 2012 Update 4. K dispozici ke stažení zde: http://www.microsoft.com/en-us/download/details.aspx?id=30679

Pokud nebude toto prostředí správně nainstalováno, dojde k ukončení programu s následující chybou: You will need "TobiiGazeCore32.dll" version 4.1.3.938 or newer to be copied to the working directory of the program.

Tobii v tuto chvíli již neumožňuje stahování Gaze SDK, je však možné získat příslušné soubory po stažení a instalaci následujícího souboru: http://files.update.tech.tobii.com/engine/Tobii.EyeX_2.1.1.293.exe

Před samotným spuštěním softwaru je nutné kalibrovat zařízení pro sledování očí v příslušném programu dodávaném se zařízením.

Použití s EyeTribe eyetrackerem

Je nezbytné, aby před spuštěním programu správně pracoval EyeTribe server a je třeba kalibrovat zařízení.

Použití s Gazepoint GP3 eyetrackerem

Před spuštěním je třeba spustit Gazepoint Control.

Zvuk klávesnice

po stisknutí tlačítka klávesnice dojde k přehrání příslušného zvuku. Tuto funkcionalitu je možné zakázat odstraněním souboru click.wav či jeho nahrazením za jiný zvukový soubor stejného formátu.

Základní funkcionalita

Po spuštění programu je třeba vybrat zvolené zařízení pro sledování očí, toho lze docílit fixací tlačítka s příslušným zařízením. Pokud je připojeno zařízení typu airmouse či podobné, je použito jako primární zařízení.

Na následujích videích je možné vidět základní funcionalitu softwaru:

http://youtu.be/O68C4d2SNC8

(anglické titulky)

https://youtu.be/9gersivzkUc

http://youtu.be/rqcN9IZ39_4

Známé problémy

  • Program nelze snadno vypnout. Je třeba vynutit ukončení pomocí nástrojů Windows či pomocí klávesové zkratky,
  • zatím nefunguje s aplikacemi v režimu celé obrazovky,
  • zatím nefunguje s rozhraním Metro na Windows 8/8.1, je třeba použít starší rozhraní,
  • v některých případech nemusí fungovat možnost drag-and-drop,
  • nefunguje při odhlášení uživatele z Windows,
  • a mnoho dalších menších problémů.

Zkompilování zdrojového kódu

Vždy je třeba použít Microsoft Visual Studio 2012 (nejlépe poslední verze), jelikož většina použiváných knihoven třetích stran je kompilována stejně.

V vlastnostech projektu je třeba povolit kódování unicode. V průběhu kompilace nemusí být přiloženy knihovny Tobii Gaze SDK. Je třeba mít k dispozici pouze standardní Windows knihovny Ws2_32.lib, winmm.lib a Msimg32.lib.

Projekt musí dynamicky linkován s MSVCRT110.dll, pokud by bylo použito statické linkování, dojede ke konfliktu s knihovnou Tobii Gaze SDK.

English / Anglicky

bkb is a program to control keyboard/mouse with eyes. It supports the following eye trackers: TobiiREX, Tobii EyeX, Tobii Eye Tracker 4C (32-bit version of the program only: bkb32*.exe), The Eye Trybe, Gazepoint GP3. It also supports controlling keyboard/mouse by turning the head along with any device that can move a mouse cursor (e.g. an airmouse).

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.

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/details.aspx?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 Tobii REX or Tobii EyeX or Tobii Eye Tracker 4C

You will need "TobiiGazeCore32.dll" version 4.1.3.938 or newer to be copied to the working directory of the program.

At the moment Tobii has discontinued the ability to download Gaze SDK, containing the file. But you can get it if you install "Tobii EyeX 2.1.1" ( http://files.update.tech.tobii.com/engine/Tobii.EyeX_2.1.1.293.exe ), as stated in the document: https://help.tobii.com/hc/en-us/articles/213546185-Attention-all-REX-users.

Calibrate the device before starting the program.

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 bkb32d.exe

Using the program with Gazepoint GP3 tracker

The "Gazepoint Control" program must be running.

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 use 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

(English subtitles)

https://youtu.be/9gersivzkUc

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
  • and many more small things....

Compiling the source codes

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

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!

About

Control keyboard/mouse with the eyetrackers: Tobii Eye Tracker 4C, EyeX, REX, TheEyeTribe, Gazepoint GP3. Also computer control by turning the head along with an Airmouse is supported.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.2%
  • C 3.8%
0