Skip to content

OMetaVR/Stream-Pad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Stream Pad

Transform your numpad into a powerful macro controller

Downloads Contributors Stars Issues

๐Ÿ› Report Bug โ€ข โœจ Request Feature โ€ข ๐Ÿ“– Documentation


๐Ÿš€ What is Stream Pad?

Stream Pad is a powerful AutoHotkey script that transforms your numpad into a versatile macro controller with 5 distinct profiles. Whether you're streaming, gaming, or just want quick access to your favorite apps and websites, Stream Pad has you covered!

โœจ Key Highlights

  • ๐ŸŽฏ 5 Specialized Profiles: Audio, Tasks, Websites, Hotswap, and Desktops
  • ๐Ÿ”„ Smart Profile Switching: Seamless transitions with visual feedback
  • ๐ŸŽฎ Game Mode: Special gaming optimizations
  • ๐Ÿ–ฅ๏ธ Multi-Monitor Support: Effortless window management
  • ๐ŸŒ Browser Intelligence: Context-aware browser controls
  • ๐Ÿ“ฑ Visual Tooltips: Real-time feedback for all actions

๐Ÿ“‹ Table of Contents


โšก Quick Start

  1. Download the latest release or clone this repository
  2. Install AutoHotkey if you haven't already
  3. Run macropad.ahk by double-clicking it
  4. Press ScrollLock to activate Stream Pad
  5. Use Numpad+ and Numpad- to switch between profiles
  6. Enjoy your enhanced productivity! ๐ŸŽ‰

๐ŸŽ›๏ธ Profile Overview

๐ŸŽต Audio Profile - Media & Volume Control
Key Action Description
5 โฏ๏ธ Play/Pause Toggle media playback
4 โฎ๏ธ Previous Previous track (or browser back)
6 โญ๏ธ Next Next track (or browser forward)
8 ๐Ÿ”Š Volume Up Increase system volume
2 ๐Ÿ”‰ Volume Down Decrease system volume
0 ๐Ÿ”‡ Mute Toggle system mute
1 ๐ŸชŸ Windows+B System tray focus
3 ๐ŸŽฎ Game Mode Toggle gaming optimizations
๐Ÿ“ฑ Tasks Profile - Application Launcher
Key Action Application
1 ๐Ÿ’ฌ Discord Launch or focus Discord
2 ๐ŸŒ Opera GX Launch or focus Opera browser
3 ๐ŸŽฎ Steam Launch or focus Steam
4 ๐ŸŽต Spotify Launch or focus Spotify
5 โš™๏ธ Task Manager Open Task Manager
6 ๐Ÿ“ File Explorer Open File Explorer
7 ๐ŸŽ™๏ธ VoiceMeeter Launch or focus VoiceMeeter
๐ŸŒ Websites Profile - Quick Web Access
Key Action Website
1 ๐Ÿ“บ YouTube Open YouTube
2 ๐Ÿ” Google Open Google Search
3 ๐ŸŽฌ 9anime Open 9anime
4 ๐ŸŽญ MovieBoxPro Launch MovieBoxPro app
5 ๐Ÿ’ฌ Discord Web Open Discord web app
6 ๐Ÿ™ GitHub Open GitHub
7 ๐ŸŸฃ Twitch Open Twitch
8 ๐ŸŸข Kick Open Kick streaming
0 ๐Ÿค– ChatGPT Open OpenAI ChatGPT
๐Ÿ–ฅ๏ธ Hotswap Profile - Window Management
Key Action Direction
4 โฌ…๏ธ Move Left Move window to left monitor
6 โžก๏ธ Move Right Move window to right monitor
8 โฌ†๏ธ Move Up Move window to upper monitor
2 โฌ‡๏ธ Move Down Move window to lower monitor
๐Ÿ–ผ๏ธ Desktops Profile - Virtual Desktop Control
Key Action Function
1 โฌ…๏ธ Move Window Left Move window to previous desktop
3 โžก๏ธ Move Window Right Move window to next desktop
4 ๐Ÿ”„ Switch Left Switch to previous desktop
6 ๐Ÿ”„ Switch Right Switch to next desktop
8 โž• New Desktop Create new virtual desktop
2 โŒ Close Desktop Close current virtual desktop
5 ๐Ÿ‘๏ธ View All Show all virtual desktops

๐Ÿ”ง Installation

Prerequisites

Step-by-Step Installation

  1. Download AutoHotkey

    Visit: https://www.autohotkey.com/download/
    Install the latest stable version
    
  2. Get Stream Pad

    git clone https://github.com/OMetaVR/Macro-NUM-pad.git
    # OR download the ZIP from releases
  3. Configure Application Paths

    • Open macropad.ahk in a text editor
    • Update the application paths at the top of the file:
    global DiscordPath := "C:\Users\YourUsername\AppData\Local\Discord\Update.exe"
    global OperaPath := "C:\Users\YourUsername\AppData\Local\Programs\Opera GX\launcher.exe"
    # ... update other paths as needed
  4. Run the Script

    • Double-click macropad.ahk
    • Look for the AutoHotkey icon in your system tray

๐Ÿ“– Usage Guide

Basic Controls

Key Combination Action
ScrollLock Toggle Stream Pad on/off
Numpad + Next profile
Numpad - Previous profile
F1 Show help for current profile
Ctrl+Alt+S Suspend/resume script

Smart Features

  • ๐Ÿง  Browser Detection: Audio profile automatically detects browsers and switches between media controls and browser navigation
  • ๐Ÿ“ Visual Feedback: Tooltips show current profile and action confirmations
  • ๐ŸŽฎ Game Mode: Special optimizations for gaming (activated via Audio profile)
  • ๐Ÿ”„ Persistent Settings: Your last profile selection is remembered

โš™๏ธ Customization

Adding New Applications

  1. Add the application path:

    global YourAppPath := "C:\Path\To\Your\App.exe"
  2. Create a new hotkey:

    Numpad9::
    ActivateOrLaunch("yourapp.exe", YourAppPath)
    return

Creating Custom Profiles

You can easily extend the script with additional profiles by:

  1. Adding new profile entries to the profiles array
  2. Creating new #If conditions for your profile
  3. Defining custom hotkeys for your new profile

Advanced Configuration

  • Tooltip Duration: Modify ShowTooltip() function parameters
  • Window Movement: Adjust MoveActiveWindow() for custom monitor layouts
  • Game Mode Behavior: Customize the XButton2 (Mouse5) functionality

๐ŸŽฎ Game Mode

Game Mode provides special optimizations for gaming:

  • Activation: Press Numpad 3 in Audio profile
  • Mouse5 Integration: Hold Mouse5 for push-to-talk (Win+Ctrl+Alt+P)
  • Auto-disable: Automatically disabled when accessing system tray
  • Visual Indicator: Tooltip confirmation when toggled

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  1. ๐Ÿด Fork the repository
  2. ๐ŸŒฟ Create a feature branch (git checkout -b feature/AmazingFeature)
  3. ๐Ÿ’พ Commit your changes (git commit -m 'Add some AmazingFeature')
  4. ๐Ÿ“ค Push to the branch (git push origin feature/AmazingFeature)
  5. ๐Ÿ”„ Open a Pull Request

Development Guidelines

  • Follow existing code style and conventions
  • Test your changes thoroughly
  • Update documentation as needed
  • Add comments for complex functionality

๐Ÿ“„ License

This project is licensed under nothing, it's free to use and even claim as your own for all I care, it's not like it's an impressive script lol.


๐Ÿ™ Acknowledgements

  • Takkeshi - Helped push me to create this project
  • PhoenixAceVFX - Helped out with small issues
  • AutoHotkey Community - Inspiration and support

๐Ÿ’ Show Your Support

If Stream Pad has improved your workflow, consider:

โญ Starring this repository
๐Ÿ› Reporting bugs or suggesting features
๐Ÿค Contributing to the codebase
๐Ÿ“ข Sharing with friends and colleagues

Made with โค๏ธ by Meta

About

Turns your numpad into a custom programmable macropad using AHK

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published