Giter VIP home page Giter VIP logo

clear-sight-touchlistener's Introduction

CleAR-Sight Touch Listener

This is the touch listener used in the Clear-Sight prototype.

Installation

  1. Make sure that you have correctly installed Raspberry Pi OS.

  2. Copy the files in the repository to the device, e.g., using git or scp:

    $ scp .\prototype-transparent-tablet\touch-raspberry\* [email protected]:~/touch-server/
  3. Compile the touch listener binary, precompiled binaries are also in the repository:

    $ gcc -o touchlistener touchlistener.c
  4. Use chmod to make server.sh executable if it isn't.

  5. Edit server.sh as needed, changing device name or IP address. Make sure the file has correct Unix style line endings!

  6. Add server.sh to autostart:

    $ sudo crontab -e
    
    Add the following lines:
    # automatically starts the server a few seconds after reboot
    @reboot /bin/sleep 30 ; "/home/pi/touch-server/server.sh"
    # switches power saving off for Wifi
    @reboot /sbin/iwconfig wlan0 power off

clear-sight-touchlistener's People

Contributors

wbueschel avatar

Watchers

 avatar Patrick Reipschläger avatar Tom avatar Marc Satkowski avatar Julián Méndez avatar Severin Engert 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.