I am looking help on matrix keypad. I searched on internet and having difficulty to understand logic of matrix keypad. Matrix keypad use a combination of four rows and four columns to provide button states to the device ( microcontroller). Each key is a push button, with one end connected to one row, and the other end connected to one column.
this is component from Proteus. I was looking datasheet but I couldn't found. How does keypad work with microcontroller. what is basic logic of Matrix keypad?

this is component from Proteus. I was looking datasheet but I couldn't found. How does keypad work with microcontroller. what is basic logic of Matrix keypad?