Repository navigation
Replies: 1 comment
|
@eVenent, this is built. Screen Color is a new entry in the mode dropdown on a device's Lighting tab, and it reaches you in the next PadForge release. The work is in #559. Each device picks a display and a part of the screen: the whole screen, one of the eight squares you listed (Top is your North, Top Right your North-East, and so on around), Center, or a rectangle you set in percent. It then picks Most Common Color or Average Color, plus saturation, brightness and smoothing. Most Common keeps a lightbar out of the muddy gray a whole-screen average tends toward. It lights every device with that dropdown: DualShock 4 and DualSense lightbars, Logitech and SteelSeries keyboards and mice, and the other mice, keyboards and lighting rows PadForge drives. A game's own lightbar color and a macro's color still take over while they are active. RazerAmbilight drives Razer devices. This mode runs on any device PadForge lights, and each one reads its own display and area, so a DualSense can follow the left of the screen while a keyboard follows the right. A device with many lights can spread the chosen area across them, so a keyboard shows a small copy of the screen. PadForge takes the finished picture from Windows through Desktop Duplication, the API RazerAmbilight uses, and through Windows.Graphics.Capture on a PC where that cannot run. It places nothing in a game and reads nothing from one. Capture runs only while a device uses the mode and stops two seconds after the last device lets go. On the 2560x1600 display it ran on here, it took about 1.5 to 5 percent of one CPU core. I measured what it does to a game's picture with PresentMon, on a fullscreen borderless test window at 240 Hz. With Desktop Duplication the window kept independent flip, and frames reached the screen 0.14 ms later on average. With the fallback, Windows composited the window, which added about 5.5 ms. On a 318-lamp keyboard, PadForge starts writing a color change within 46 to 88 ms and sends a whole picture of many colors in about 115 ms. No light was timed after those writes. So far it has read one SDR display. HDR and rotated displays follow Microsoft's documents and the projects that handle them, and they have not run on such a display. A keyboard that stores each picture shows changing colors only through a Dynamic Lighting interface, where it has one and its firmware has that interface on. Without one it keeps its last steady color. While Windows Dynamic Lighting holds that interface, turn it off for that device in Windows Settings and PadForge sends the colors there. The Dell G series paints a picture every 2 seconds and the SteelSeries Rival 650 one a second, so those two follow the screen late. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, there is interesting application RazerAmbilight, which allows to copy screen colors on Keyboard LEDs. I think it would be nice to have something similar in PadForge. LED will get colors of whole screen or part of screen (like it is in TV Ambilight). There will be possible to select square from screen which will be displayed on LED devices eg: North, North-East, East, South-East, South, South-West, West, North-West and assign colors to LED devices. It will make DS4 and DualSense lightbars more useful and interactive with events which are happening on the screen. Additonally, Logitech and Steelseries keyboards will get nice feature available for Razer devices.
All reactions