Than you very much this is probably solution for me, but I hoped I would be able to create in future another class forexample Display and give InputPeripherals pointer to his method and then create another class and so on. So I can't make static connection between those two classes. Am I right?
Thank you.