Giter Club home page Giter Club logo

Comments (4)

theoriginalbit avatar theoriginalbit commented on August 23, 2024

I don't see anything useful to adding this. Maybe you can, if so please share.

However, it have own api, it means when decided support the opencomputer, that will very hard work likely write new mod.

We don't have any problems adding support for mods that don't have APIs, its just as easy when they don't have APIs (I think that's what you were saying, your English was a little hard to understand)

from openperipheral.

 avatar commented on August 23, 2024

That is must be hard, because

A. I'm not saying about the support OpenComputer's TileEntity as Peripheral. (sorry, i missed it)
B. OpenComputer have Component (= CC's Peripheral), I (and other user?) want use OpenPeripheral's thing as Component.

from openperipheral.

theoriginalbit avatar theoriginalbit commented on August 23, 2024

The components are either OpenComputer specific, meaning that there is no need to make them a peripheral, or they should already be supported, for example you should be able to read the power levels of the battery. I don't see anything else that you'd really want or need.

from openperipheral.

fnuecke avatar fnuecke commented on August 23, 2024

Hi. Not sure if this was a language barrier thing and a simple misunderstanding, so I'd like to clarify before we put more time into it. I think what EcmaXp meant was to make it so that OP also serves as a driver layer for OpenComputers, in addition to ComputerCraft.

We (i.e. LordJoda and me) were thinking of having a look into that. From the cursory glance I had, I'm thinking it'd involve adding a driver registration next to the ones for CC and some wrapper stuff. The only actual modification to the existing sources would probably be the callbacks, depending on how the computer/Lua context from CC is used (since OC can't/won't emulate that). Maybe something along the lines of an interface that allows getting the "real" context. And for methods that require the CC context, those would just wouldn't work in OC (unless it's easy to work around). The problem with that is: there are obviously a lot of callbacks, so that'd be a ton of files touched.

Now before we sink some time into this, I just wanted to ask if you'd even consider merging such a possibly intrusive pull request? If it has to it could become a fork, if you don't mind, but I'd like to avoid that unless it proves necessary, since it'd be easier to maintain if it weren't.

Anyway, please let us know what you think :-)

from openperipheral.

Related Issues (20)

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.