Giter VIP home page Giter VIP logo

makeymakey's Introduction

MakeyMakey

Repo for MakeyMakey projects, this branch is for the Stage 1 Makey Makey app. This project is an output of the xAPI Cohort Spring 2020 hosed by TorranceLearning.

The goal of the stage 1 app is to build a LiveCode Community project, using LiveCode Open Source from https://livecode.org/.

The app can be clickon on via mouse, or with a connected Makey Makey board, used to test the connection of the Makey Makey board and to troubleshoot issues between the board and computer.

KNOWN ISSUE: One of the default 'keys' the Makey Makey uses is a 'click.' When sending this signal by a connected Makey Makey the functions work as expected. However, during direct interaction with a mouse, any click sent to the arrow buttons or space button will ALSO register as a click, so that interaction is triggered as well.

OPERATION: Each of the standard connections for the classic Makey Makey board (as opposed to Makey Makey GO) is mapped as keyboard input and detected via a series of IF statements. LiveCode recognizes the space bar and MouseUp (click) as distinct actions and sends messages to match: 'theKey is space' or MouseUp.

The arrow keys are handled differently, any arrowKey triggers an arrowKey message with a parameter stored as theArrow. The code tests via a if, else if, and else logical group to determine which arrowkey was pressed: Up, Down, Left or Right. Once the if statements are complete, there is an else to pass the arrowKey, for other code to execute (if needed) and after the if there are statements that trigger no matter which arrow was pressed.

Reguardless of which interaction is used, the basic premise is that an interaction will:

  1. Cause a beep sound, the mouseUp beeps twice -- audio feedback is provided
  2. Set the hilite of the related button to true -- visual feedback is provided
  3. We will wait 1/2 second for the visual feedback, then continue
  4. ALL hilited objects are reset.

The logic structure and operation is currently coded in 46 lines of code, stored in the card object of the application. This is visble by downloading the LiveCode Open Source edition available free at LiveCode.org

As this application is available as a standalone file complied for Macintosh, Windows or Linux, it can be used offline as a testbed remote from internet access. Additionally, testing with this app allows the Makey Makey user to be assured that the board is working, without concern that the web page is having network, loading issues or internet connectivity problems.

This app will be published as Mac / Windows / Linux applications for the purpose of setup and troubleshooting the Makey Makey board, the project will also serve as the baseline for future projects for sending xAPI with Makey Makey. https://MakeyMakey.com

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.