Difference between revisions of "Ctrldev"
Jump to navigation
Jump to search
m (Remove obsolete section) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
= How Do I start writing a ctrldev driver? = | = How Do I start writing a ctrldev driver? = | ||
Well you first have to do a lot of the process that's described [[Zynthian Development|here]], so a quick scan of the questions and have a look at any you don't understand. | Well you first have to do a lot of the process that's described [[Zynthian Development|here]], so a quick scan of the questions and have a look at any you don't understand. | ||
− | We assume you have | + | We assume you have Visual Studio Code (VSC) all set up and ready to rock and you have a debug-able zynthian attached and it runs... |
==Where do I put what files to make it work?== | ==Where do I put what files to make it work?== | ||
The ctrldev files are located in the directory /zynthian/zynthian-ui/zyngine/ctrldev in the zynthian repository zynthian-ui which is what you should have forked to get to this point. | The ctrldev files are located in the directory /zynthian/zynthian-ui/zyngine/ctrldev in the zynthian repository zynthian-ui which is what you should have forked to get to this point. | ||
It is a simple task to copy one of the existing files rename it to something that suits what you are doing and away you go.... | It is a simple task to copy one of the existing files rename it to something that suits what you are doing and away you go.... | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==How do we know we are actively running our code....?== | ==How do we know we are actively running our code....?== |
Latest revision as of 07:57, 17 September 2025
1 How Do I start writing a ctrldev driver?
Well you first have to do a lot of the process that's described here, so a quick scan of the questions and have a look at any you don't understand. We assume you have Visual Studio Code (VSC) all set up and ready to rock and you have a debug-able zynthian attached and it runs...
1.1 Where do I put what files to make it work?
The ctrldev files are located in the directory /zynthian/zynthian-ui/zyngine/ctrldev in the zynthian repository zynthian-ui which is what you should have forked to get to this point. It is a simple task to copy one of the existing files rename it to something that suits what you are doing and away you go....
1.2 How do we know we are actively running our code....?
We set a breakpoint in the VSC source code listing.