Giter VIP home page Giter VIP logo

Comments (4)

fufesou avatar fufesou commented on September 25, 2024

The num of monitors is not limited.

This file is just a demo app.
https://github.com/fufesou/RustDeskIddDriver/blob/main/RustDeskIddApp/main.c

You can refer this function to add monitors.

BOOL MonitorPlugIn(UINT index, UINT edid, INT retries)

You can also modify the code here to change the behavior

if (FALSE == MonitorPlugIn(key - '1', 0, 25))

from rustdeskidddriver.

psychrabi avatar psychrabi commented on September 25, 2024

I tried to update the main.c by adding additional indexes 4, 5, 6 and changing the plugin index to 7, 8,9 for a test, but after compile the app, pressing 4,5,6 is not adding the monitors.

may be i am doing something wrong?
Perhaps you can extend this repo to support any number of monitors?

I would be awesome and great help to me to test my application further

from rustdeskidddriver.

fufesou avatar fufesou commented on September 25, 2024

Thanks for your feedback, and sorry for the incorrect reply.

The max monitor count is limited here

static constexpr UINT m_sMaxMonitorCount = 3;

I've already updated the code. You can use up to 10 monitors in release v0.3.

You can also set your own max monitor count here.

static constexpr UINT m_sMaxMonitorCount = 10;

from rustdeskidddriver.

psychrabi avatar psychrabi commented on September 25, 2024

Amazing.
Thank you. I can test my application now.

from rustdeskidddriver.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.