25 keys midi piano

Hi, I'm trying to make a midi piano based on this one

but that one is limited to 11 keys but I want to make it with 25 (2 octaves piano), the problem is that I don't have enough digital inputs, so my question is: Is there a way to transform the 25 outputs to 11 inputs?

You can use 4 of these 74HC165N 8 Bit Parallel-In shift registers.

This here is a 10 piece lot. Link

Hi, you could buy an Arduino Mega. They have more inputs than uno.

Paul

PaulRB:
Hi, you could buy an Arduino Mega. They have more inputs than uno.

Paul

I don't have that much money

You don't need to buy a Mega, you just need to go to the link I gave you or search for 4 74HC165N 8 Bit Parallel-In shift registers. They are very cheap

HazardsMind:
You don't need to buy a Mega, you just need to go to the link I gave you or search for 4 74HC165N 8 Bit Parallel-In shift registers. They are very cheap

Yeah, I saw it, I'll look for them first in my country, if I don't see them I'll buy it from your link

thanks for your help