GithubHelp home page GithubHelp logo

unimotion's Introduction

#About

Unnoficial mirror of http://unimotion.sourceforge.net

#About Unimotion

UniMotion provides unified motion detection for Apple portables. UniMotion is based on Motion with support for additional hardware coming from here. On top of all this, I've created a basic API and implemented probing so that you don't have to know what machine you're on.

While Motion has a BSD license, UniMotion is released under the LGPL. The original author and all contributors have given permission for this license change. The intent is to ensure that fixes and improvements aren't hoarded by closed-source projects and to ensure that closed-source programs utilising UniMotion are able to support the newest hardware models, even without support from the vendor. There is software out there that is SMS-aware but doesn't support my MacBook Pro. If everyone uses UniMotion, that will never happen again.

#Also

Mirrored here because of the mods made to get it built

also it contains python script form iFiddling to allow data to be sent to iOS simulator running with this code

So it lets simulate UIAccelerometer changes in iOS simulator using MacBook's accelerometer.

HOWTO

Build Unimotion

$ cd src/; make; cd ..

Run simulation

$ src/bin/motion -f 17 | python sendaccsim.py
>
 0.01 -0.02 -1.01
 0.01 -0.01 -1.02
 0.02 -0.01 -1.02
 0.01 -0.01 -1.03
 0.01 -0.02 -1.03
-0.00 -0.02 -1.03
 0.01 -0.02 -1.03
 0.01 -0.02 -1.02

Run simulator

With code

Examples

unimotion's People

Contributors

gmarik avatar

Stargazers

Jesse Friedman avatar  avatar

Watchers

 avatar  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.