awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
samhenrigold avatar

samhenrigold/LidAngleSensor

0
View on GitHub↗
4,125 stars·174 forks·Swift·Apache-2.0·5 viewssamhenri.gold↗

LidAngleSensor

LidAngleSensor is a tool and sensor interface that retrieves the physical opening angle of a laptop screen by querying the internal Human Interface Device. It translates raw hardware sensor reports into a numerical representation of the lid's position.

The project functions as a lid-triggered audio player and a screen region capture tool. It can monitor hardware sensor state changes to play specific sound effects when a laptop lid opens or closes and isolate a defined coordinate area of the display buffer to copy a specific screen region to the clipboard.

The system handles hardware event automation and HID sensor integration through threshold-based event triggering and coordinate-based buffer cropping.

Features

  • Laptop Lid Sensors - Determines the current opening angle of the laptop screen by accessing the internal hardware sensor.
  • Raw-to-Angle Conversions - Converts raw hardware sensor output into a numerical representation of the lid opening angle.
  • HID Device Communication - Queries Human Interface Device reports to read raw lid position sensor data.
  • Sensor Integrations - Interfaces with HID reports to retrieve raw sensor data and translate it into software values.
  • Sensor Polling - Retrieves the current state of the lid angle sensor via on-demand polling.
  • Hardware-to-Software Mappings - Translates raw hardware sensor reports into numerical values representing the laptop lid's physical position.
  • Lid Event Management - Retrieves the angle of the MacBook lid via the internal human interface device sensor.
  • Audio Triggers - Provides a system that triggers specific sound effects automatically when the laptop lid is opened or closed.
  • Lid State Monitoring - Reads the physical opening angle of a laptop screen using internal hardware sensors to trigger software actions.
  • Hardware Event Automations - Executes tasks and plays sounds automatically based on the physical state of the laptop lid.
  • Audio Triggers - Triggers specific audio playback in response to hardware sensor state changes.
  • On-Demand Audio Triggers - Triggers specific sound effects whenever the laptop lid is opened or closed.
  • State-Change Audio Feedback - Connects physical lid position changes to the playback of corresponding sound effects.
  • Region Capture - Implements the ability to isolate and copy a specific coordinate-defined rectangular area of the display buffer.
  • Sensor-Driven Event Triggers - Fires audio callbacks when monitored sensor values cross predefined numerical boundaries.

Star history

Star history chart for samhenrigold/lidanglesensorStar history chart for samhenrigold/lidanglesensor

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does samhenrigold/lidanglesensor do?

LidAngleSensor is a tool and sensor interface that retrieves the physical opening angle of a laptop screen by querying the internal Human Interface Device. It translates raw hardware sensor reports into a numerical representation of the lid's position.

What are the main features of samhenrigold/lidanglesensor?

The main features of samhenrigold/lidanglesensor are: Laptop Lid Sensors, Raw-to-Angle Conversions, HID Device Communication, Sensor Integrations, Sensor Polling, Hardware-to-Software Mappings, Lid Event Management, Audio Triggers.

What are some open-source alternatives to samhenrigold/lidanglesensor?

Open-source alternatives to samhenrigold/lidanglesensor include: microsoft/windows-universal-samples — This repository is a comprehensive collection of reference implementations and sample libraries for the Universal… krishkrosh/trackweight — TrackWeight is a digital weighing instrument and pressure-to-weight converter designed to measure the mass of objects.… zswatch/zswatch — ZSWatch is a real-time operating system for wearable devices featuring a touch display and Bluetooth Low Energy… rwaldron/johnny-five — Johnny-Five is a JavaScript robotics framework and microcontroller hardware interface designed for programming robots… librehardwaremonitor/librehardwaremonitor — LibreHardwareMonitor is a .NET library and system health monitoring tool for Windows. It provides a programmatic… bartoszcichecki/lenovolegiontoolkit — LenovoLegionToolkit is a hardware management tool and Windows hardware control interface designed specifically for…

Open-source alternatives to LidAngleSensor

Similar open-source projects, ranked by how many features they share with LidAngleSensor.
  • microsoft/windows-universal-samplesmicrosoft avatar

    microsoft/Windows-universal-samples

    9,696View on GitHub↗

    This repository is a comprehensive collection of reference implementations and sample libraries for the Universal Windows Platform. It provides practical examples of how to use Windows Runtime APIs to build cross-device applications, including detailed guidance on XAML-based declarative user interfaces and DirectX-integrated rendering. The project distinguishes itself by providing a wide array of hardware integration suites, covering low-level communication with USB, Serial, I2C, SPI, and GPIO peripherals. It includes specialized implementations for mixed reality holographic rendering, advanc

    JavaScript
    View on GitHub↗9,696
  • rwaldron/johnny-fiverwaldron avatar

    rwaldron/johnny-five

    13,401View on GitHub↗

    Johnny-Five is a JavaScript robotics framework and microcontroller hardware interface designed for programming robots and IoT devices. It provides a standardized library for managing pins, motors, and displays across various microcontroller platforms, allowing developers to control sensors and actuators using a consistent JavaScript API. The framework is distinguished by its use of a plugin-based hardware abstraction system, which enables communication with diverse hardware platforms and protocols. It supports real-time hardware manipulation and debugging through a read-eval-print loop that a

    JavaScript1-wireadcarduino
    View on GitHub↗13,401
  • krishkrosh/trackweightKrishKrosh avatar

    KrishKrosh/TrackWeight

    8,659View on GitHub↗

    TrackWeight is a digital weighing instrument and pressure-to-weight converter designed to measure the mass of objects. It functions as a pressure sensor weight scale that translates data from a touch surface into weight measurements in grams. The system integrates pressure sensor data to enable digital weight measurement and embedded weight tracking. It converts raw pressure readings into standardized weight units to quantify the mass of objects or fingers in contact with a sensory surface. The implementation includes analog-to-digital signal conversion, linear regression calibration for acc

    Swift
    View on GitHub↗8,659
  • zswatch/zswatchZSWatch avatar

    ZSWatch/ZSWatch

    3,128View on GitHub↗

    ZSWatch is a real-time operating system for wearable devices featuring a touch display and Bluetooth Low Energy connectivity. It provides a comprehensive software suite that includes a Bluetooth LE communication stack, an embedded UI framework for round displays, and a complete firmware toolchain for compiling, flashing, and simulating wearable hardware. The project is distinguished by its specialized wearable capabilities, such as a graphical framework for designing reactive screens and watchfaces via a visual editor. It implements a publish-subscribe messaging system to decouple hardware se

    Cangle-of-arrivalblebluetooth
    View on GitHub↗3,128
  • See all 30 alternatives to LidAngleSensor→