Pebble Controller is a pebble app that allows you to use your pebble as a controller for your pc. The app prompts you for a destination IP address and sends information on each button press to a server running on port 5000 at that IP. Currently, the server simply executes a script hook that simulates mac key presses, but changing these scripts (or the server itself) would easily allow this to be used on any os.
Feel free to open github issues for bug reports or to provide feedback.
1. Clone the repo
2. Install pebble sdk (or use cloudpebble, I think thats possible)
3. Build the app and install it on your pebble
Pebble-controller is now available on the pebble appstore. Find it here
-
Download the mac app from here
-
Create a directory in your home folder called
.pc_handlers
, and place files titled0.sh
,1.sh
,2.sh
, and3.sh
inside. These scripts will be invoked when the corresponding buttons are pressed. See an example -
Start the mac app and enjoy
-
Download the jar file from here
-
Create a directory in your home folder called
.pc_handlers
and place files titled0
,1
,2
, and3
inside. Mark these scripts/executables as executable and they will be invoked when the buttons are pressed. See the example linked above.
Prerequisites: ruby, bundler
-
Clone this repo
-
Modify the handler scripts
server/handlers
to your heart's content -
Start the server with:
cd server
bundle install
ruby server.rb
-
Run the app and enter your desired ip address
-
Good to go!
Prerequisites: Rust, cargo
-
Clone this repo
-
Navigate to
server/rust
cargo run --release
This was originally developed as a method to control presentations with a pebble and was once tied to RevealJS. It works well for this use case, so go ahead and test it out here.
Now it has become more flexible so use it for whatever you wish.
MIT. See LICENSE