The disclosure relates to a docking device and an assembly comprising the docking device and a tablet computer. The docking device comprises a pair of frame members defining receiving space for receiving the tablet computer, each frame member includes a connection portion and a supporting portion; and a virtual input device pivotably mounted within an opening between the connection portions.