Code Samples¶
Practical, ready-to-run examples demonstrating how to use the DisplayLink Direct API for common scenarios.
Available Samples¶
- Video Wall Sample: Distribute a single image or video across multiple displays in a seamless grid layout.
- Video Clone Sample: Display identical content simultaneously on all connected DisplayLink displays.
- Read EDID Sample: Query and retrieve display identification data from connected monitors (DL-7xxx devices only).
- Screensaver Sample (Python): Render a bouncing DisplayLink logo and stream frames to a connected display using Python bindings.
Building and Running¶
Most samples are written in C/C++ and can be built with CMake. Python samples
include their own requirements.txt files. Each sample includes:
- Complete source code with detailed comments.
- Build instructions with CMake.
- Command-line options for flexible usage.
- Examples demonstrating various features.
License¶
The code samples are provided under the MIT License, allowing you to freely use, modify, and distribute them in your own projects. See samples/LICENSE for details.
Getting Started¶
Click on any sample from the navigation to view detailed documentation, source code links, build instructions, and usage examples.