Skip to content

Shakers

Related Config File Sections:

Shaker motors cause vibrations to give the player tactile feedback.

Hardware

TODO: Add a picture of a shaker

Help us write it!

This section is unwritten or needs an update or edit. Can you help write it? Get your name in lights and geeky pinball bragging rights! Hit the magic sparkly wand to the right of the title to see this page source on GitHub. Then add/edit and submit your change. It's easy!


Part numbers:

  • Spooky: #100-0054-00
  • Stern Spike: #502-5027-01
  • Stern SAM: #502-5027-00
  • Data East/Sega/Stern: #515-5893-01

Most shaker motors are not meant to be enabled without PWM. Depending on the voltage your PWM should have a duty cycle between 10% and 30%.

Config

This is an example on how to use a shaker using coil_player:

coils:
  c_shaker:
    number:
    default_pulse_ms: 1
    default_hold_power: 0.125    # keep this low

##! mode: your_mode
coil_player:
  enable_shaker_event:
    c_shaker: enable
  disable_shaker_event:
    c_shaker: disable
##! test
#! start_game
#! mock_event test_event
#! start_mode your_mode
#! post enable_shaker_event
#! advance_time_and_run .5
#! post disable_shaker_event

Alternatively, you can use it inside a show:

coils:
  c_shaker:
    number:
    default_pulse_ms: 1
    default_hold_power: 0.125    # keep this low

##! mode: your_mode
shows:
  my_show_with_shaker:
    - duration: 1s
      coils:
        c_shaker: enable
#!       events: test_event
      # add some slides, lights or sounds here
    - duration: 1s
      coils:
        c_shaker: disable
      # add some more slides, lights or sounds here

show_player:
  play_show_with_shaker:
    my_show_with_shaker:
      loops: -1
##! test
#! start_game
#! mock_event test_event
#! start_mode your_mode
#! post play_show_with_shaker
#! advance_time_and_run .5
#! assert_event_called test_event

Something missing or wrong? You can fix it!

This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?

Please help us! You can fix it yourself and be an official "open source" contributor!

It's easy! See our Beginner's guide to editing the docs.

Page navigation via the keyboard: < >

You can navigate this site via the keyboard. There are two modes:

General navigation, when search is not focused:

  • F , S , / : open search dialog
  • P , , : go to previous page
  • N , . : go to next page

While using the search function:

  • Down , Up : select next / previous result
  • Esc , Tab : close search
  • Enter : go to highlighted page in the results