Code Monkey home page Code Monkey logo

qforcestudio's Introduction

QForceStudio - Explore Force Feedback on Linux

QForceStudio is a Qt application with graphical editors for various force effects. It is meant to bridge the gap between visualization of a force and actual parameters sent to the kernel. The main purpose is to be used as a development and testing tool for Linux Force Feedback kernel drivers.

How to build on Linux

  • Install Qt and make sure to have QTDIR point to the installation.

  • Install cmake

  • Run cmake

$ cd qforcestudio
$ mkdir build
$ cd build
$ cmake .. -G "Unix Makefiles"
$ make

How to build and run QForceStudio on OSX

Why? Because I'm doing a lot of development on OSX and it's handy to develop the UI aspects natively and not inside a VM. Device support is non-existant though and forces will not play. But it's faster to develop the widgets and debug the signals.

  • Install Homebrew
from http://brew.sh
  • Install Qt, make sure to have the environment variable QTDIR point to it.
$ brew install qt
  • Install cmake and ninja
$ brew install cmake
$ brew install ninja
  • Generate the make files and run ninja.
$ cd qforcestudio
$ mkdir build
$ cd build
$ cmake .. -G Ninja
$ ninja

The resulting application will run on OSX and one can test the UI and all the various force effect parameters in the previews. There will however be no device enumeration and hence there's no downloading/starting of any force effects on OSX.

qforcestudio's People

Contributors

eliasvan avatar nkuttylogi avatar rbosa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.