A device comprising: a housing section comprising a touch-sensitive display; a physical keyboard section coupled to the housing section such that the physical keyboard section is movable in a sliding direction relative to the housing section; a position detector configured to determine movement of the physical keyboard section in relation to the housing section; and a processor configured to: display a virtual keyboard on the touch-sensitive display as an animation correlated with the determined movement of the physical keyboard section when the physical keyboard section is in an intermediate position; display the virtual keyboard on the touch-sensitive display when the physical keyboard section is in a closed position; and display no such virtual keyboard when the physical keyboard section is in an open position; characterized in that the physical keyboard section further comprises a capacitive touch detection sensor matrix and the position detector is a touch controller coupled to the capacitive touch detection sensor matrix and configured to determine movement of the physical keyboard section in relation to the housing section by: determining a baseline measurement by scanning the capacitive touch detection sensor matrix to measure coupled charge on a row-by-row basis; determining a current measurement by rescanning the capacitive touch detection sensor matrix to measure coupled charge on a row-by-row basis; and based on comparing the current measurement to the baseline measurement, determining a row-by-row change of coupled charge correlated to a movement of the physical keyboard section. a housing section comprising a touch-sensitive display; a physical keyboard section coupled to the housing section such that the physical keyboard section is movable in a sliding direction relative to the housing section; a position detector configured to determine movement of the physical keyboard section in relation to the housing section; and a processor configured to: display a virtual keyboard on the touch-sensitive display as an animation correlated with the determined movement of the physical keyboard section when the physical keyboard section is in an intermediate position; display the virtual keyboard on the touch-sensitive display when the physical keyboard section is in a closed position; and display no such virtual keyboard when the physical keyboard section is in an open position; characterized in that the physical keyboard section further comprises a capacitive touch detection sensor matrix and the position detector is a touch controller coupled to the capacitive touch detection sensor matrix and configured to determine movement of the physical keyboard section in relation to the housing section by: determining a baseline measurement by scanning the capacitive touch detection sensor matrix to measure coupled charge on a row-by-row basis; determining a current measurement by rescanning the capacitive touch detection sensor matrix to measure coupled charge on a row-by-row basis; and based on comparing the current measurement to the baseline measurement, determining a row-by-row change of coupled charge correlated to a movement of the physical keyboard section. display a virtual keyboard on the touch-sensitive display as an animation correlated with the determined movement of the physical keyboard section when the physical keyboard section is in an intermediate position; display the virtual keyboard on the touch-sensitive display when the physical keyboard section is in a closed position; and display no such virtual keyboard when the physical keyboard section is in an open position; characterized in that the physical keyboard section further comprises a capacitive touch detection sensor matrix and the position detector is a touch controller coupled to the capacitive touch detection sensor matrix and configured to determine movement of the physical keyboard section in relation to the housing section by: determining a baseline measurement by scanning the capacitive touch detection sensor matrix to measure coupled charge on a row-by-row basis; determining a current measurement by rescanning the capacitive touch detection sensor matrix to measure coupled charge on a row-by-row basis; and based on comparing the current measurement to the baseline measurement, determining a row-by-row change of coupled charge correlated to a movement of the physical keyboard section. determining a baseline measurement by scanning the capacitive touch detection sensor matrix to measure coupled charge on a row-by-row basis; determining a current measurement by rescanning the capacitive touch detection sensor matrix to measure coupled charge on a row-by-row basis; and based on comparing the current measurement to the baseline measurement, determining a row-by-row change of coupled charge correlated to a movement of the physical keyboard section.