Ok that i understood and it pointed me in the right direction for something else. Thank you.
Going on, I want to detect change on the 2 input signals and after further reading I understand that I may have to use the edge-capture register (is that correct?). Now this isn't some high speed application, so timing isn't a huge issue. All I want to do is detect the change and go from there.
I know i'm going to have to do pretty much the same as you've mentioned and use the IOWR_ALTERA_AVALON_PIO_EDGE_CAP? Of course I have to do the same as for the data one and find the base address...etc. Anything I should keep in mind or is this on the right track?