Code Monkey home page Code Monkey logo

Comments (6)

jvican avatar jvican commented on June 13, 2024 2

Looks like @brettferdosi has done an amazing job reverse engineering the proper way to toggle grayscale mode, and can be found here https://github.com/brettferdosi/grayscale/blob/master/Sources/Bridge.h

Just tested it by installing his app and it worked nicely. So we might want to port over his code into this app so that grayscale-mode can run on the Apple M1 chip family. Won't have the time to do this myself but writing it here in hope that someone else can pick it up.

from grayscale-mode.

jvican avatar jvican commented on June 13, 2024

This is a bummer. Do we know what's not working with the latest M1 Mac computers?

from grayscale-mode.

rkbhochalya avatar rkbhochalya commented on June 13, 2024

Hmm, looks like the non-public C++ API we are using in the app to toggle grayscale mode doesn't work on mac computers with M1 chip. I do not have a computer with M1 to test it atm.

from grayscale-mode.

jvican avatar jvican commented on June 13, 2024

I'm guessing this is the one? https://github.com/rkbhochalya/grayscale-mode/blob/master/GrayscaleMode/grayscale.h

Where did you find that private C++ API in the first place? Maybe we can go to the docs/code you looked at and see if they updated it to work with M1 chips.

from grayscale-mode.

jvican avatar jvican commented on June 13, 2024

Can you provide the info above whenever you have some time @rkbhochalya?

from grayscale-mode.

NightMachinery avatar NightMachinery commented on June 13, 2024

https://gist.github.com/danielpunkass/df0d72be11b8956f2ef4f4d52cce7a41 is a very simple solution.

from grayscale-mode.

Related Issues (7)

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.