An adjusting device comprises a bottom plate, at least two signal transmitting units, a magnetic element, a Hall element, a base, a limit element, a first cover, a second cover, a knob, a button, a rocker, a first return unit and a second return unit, wherein the first return unit is used for axially returning the rocker, and the second return unit is used for obliquely returning the rocker. As the adjusting device is provided with the rocker and a ball, button functions in a vertical direction and in other directions can be realized, namely the adjusting device is capable of realizing omnidirectional button functions. Besides, the adjusting device is provided with the magnetic element and the Hall element which are opposite, the magnetic element is driven to move by the rocker, the Hall element is capable of sensing different signals, and the operation of the whole adjusting device can be judged by the aid of the signals. By means of coordination of a baffle plate of the first cover and the signal transmitting units, turning directions of the knob can be judged, so that omnidirectional output can be realized.