(USB keyboard + keyboard+lcd +due) using facing problem of getting same output

thanks for quick response but in your case there was only two state of button (
low& high) while in my case state of button have many variable value more then 32 key each key have their unique value. problem is got this unique value to time in single pressing. (last state and current state same)
i hope u understand my problem i will wait for your valuable response.