Giter Site home page Giter Site logo

ddc-ci-tools-for-os-x's Introduction

DDC/CI Control for OS X

This is a very rough initial go at hooking in with the apple API for controlling monitors using DDC/CI.

There are three folders in this project

ddc

This is a C library that contains all the code for using DDC/CI.

ddcctrl

A basic command line program for using ddc

ddcgui

A simple example GUI for changing screen brightness.

ddc-ci-tools-for-os-x's People

Contributors

jontaylor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ddc-ci-tools-for-os-x's Issues

ddcgui: System freeze on readControlValue

  • OS X 10.9.5 (13F34)
  • MacBook Air 13-inch, Mid 2013
  • Dell U2414H

As a workaround I commented out this line

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
//  [controller_object setControlsToCurrentValues];
}

which prevents the initial calls to readControlValue:.

Setting the brightness works flawlessly.

ddc_write incorrect for values < 0x1ff

in ddc/ddc.c: ddc_write, the new value is set with:
data[5] = (_p_write).new_value;
data[4] = 0x1;
which is incorrect for values < 0x1ff. It should be:
data[4] = ((_p_write).new_value) >> 8;
data[5] = ((*p_write).new_value & 255);

License unclear

@jontaylor: I'm currently in the progress of writing a tool which is based on a DDC-library distributed by @kfix for their tool ddcctl.

This library in turn seems to be based on your code, though heavily modified by (I assume) SJ_UnderWater for their tool DDC Panel. Both @kfix and SJ_UnderWater licensed their own code under GPLv3, apparently excluding the files DDC.{c,h}.

Would it be possible for you to add a license to your code which allows for (non-commercial) distribution and modification?

Thank you for your time!
Best regards.

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.