
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
mopad
Advanced tools
An anywidget that allows gamepad input in Marimo notebooks. Perfect for interactive data exploration, games, or any application that needs real-time gamepad input.
pip install mopad
import marimo as mo
from mopad import MopadWidget
# Create and display the widget
gamepad = mo.ui.anywidget(MopadWidget())
gamepad
For a full demo you can check Github pages.
| Property | Type | Description |
|---|---|---|
last_button_pressed | int | Index of the last pressed button (-1 if none) |
current_timestamp | float | Timestamp of the most recent button press (ms) |
previous_timestamp | float | Timestamp of the previous button press (ms) |
axes | list[float] | Analog stick values: [left_x, left_y, right_x, right_y] |
dpad_up | bool | True when D-pad up is pressed |
dpad_down | bool | True when D-pad down is pressed |
dpad_left | bool | True when D-pad left is pressed |
dpad_right | bool | True when D-pad right is pressed |
button_id | int | Legacy property for backward compatibility |
| k |
Note: Due to browser security policies, gamepads need user interaction to be detected. The widget will guide you through the connection process with clear visual indicators.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
An anywidget that allows gamepad input in Marimo
We found that mopad demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.