HebiRobotics/MatlabInput

버전 1.2.0.0 (20.8 KB) 작성자: Florian Enner
Library for getting keyboard and joystick input into MATLAB

다운로드수: 331

업데이트 날짜:2018/1/26

GitHub에서 호스트

GitHub에서 라이선스 보기

MatlabInput allows MATLAB users to get input from keyboards and joysticks in a non-blocking manner. It contains two classes: HebiJoystick, and HebiKeyboard. HebiJoystick is a drop-in replacement for vrjoystick for users who don't have access to the Simulink 3D Animation toolbox. HebiKeyboard provides similar functionality, but for keyboard inputs.
Example:

% Add library
addpath('hebi');

% Display all currently pressed keys whenever shift is up
kb = HebiKeyboard();
while true
state = read(kb);
down = find(state.keys('a':'z')) + 'a';
if ~state.SHIFT
disp(char(down));
end
pause(0.01);
end

The library was tested on Windows, Linux, and OSX on MATLAB 2015b, 2016a, and 2016b. However, it should run on any version >= 2013b. It makes use of the Java library (JInput) and does not support code generation).

Readme:https://github.com/HebiRobotics/MatlabInput
Download:https://github.com/HebiRobotics/MatlabInput/releases

인용 양식

Florian Enner (2022).HebiRobotics/MatlabInput(https://github.com/HebiRobotics/MatlabInput), GitHub. 검색됨.

MATLAB 릴리스 호환 정보
개발 환경: R2015a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

src/main/resources/matlab

이 GitHub 애드온의 문제를 보거나 보고하려면GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면GitHub 리포지토리로 가십시오.