neiltron/xylotron

View on GitHub
app/scripts/actions/index.js

Summary

Maintainability
A
0 mins
Test Coverage
export function handleKeypress(key) {
  return {
    type: 'handleKeypress',
    key
  };
}

export function deactivatePad(key) {
  return {
    type: 'deactivatePad',
    key
  };
}

export function toggleRecording() {
  return { type: 'toggleRecording' };
}

export function stopRecording() {
  return { type: 'stopRecording' };
}

export function playRecording() {
  return { type: 'playRecording' };
}

export function stopPlaying() {
  return { type: 'stopPlaying' };
}

export function toggleAbout () {
  return { type: 'toggleAbout' };
}