Adafruit_MCP23017.h to LiquidCrystal.h

hi everyone,

i have a code which is written for "RGB LCD Shield Kit w/ 16x2 Character Display - Only 2 pins used! -"
and i have some spare parts of 16x2 LCD screen and Arduino Joystick Module, which i have to use liquid crystal library (i believe)

i think these parts can replace the adafruit but not sure and don't know how.

can anyone help me on that? i believe first thing to do is installing liquid crystal library instead of adafruit's, than what else?

edit: for example i need to move these buttons to joystick. lets say i wired joystick like this

uint8_t buttons = lcd.readButtons();

if (buttons)
{
lcd.clear();
lcd.setCursor(0,0);
if (buttons & BUTTON_UP)
{
menu ++;
delay(300);
}
if (buttons & BUTTON_DOWN)
{
menu --;
delay(300);
}
if (buttons & BUTTON_SELECT)
{
setup_complete = 1;
}
}

changed my mind, i will use momentary buttons, not joystick. will be easier and more proper.