This investigation presents a concept of integrated device, which tracks the movement of eyeball in real time. Integrated optical components are applied to perform infrared oculography to find the position of the eyeball. First, the photodiodes emits infrared to human eyes via the output coupler, then the reflected light is collected by the input coupler and detected by the photodetectors. By analyzing the electrical signal, we could figure the position of the eyeball out. The basic principle is based on the differential of reflected index between sclera and iris. The light source and detectors are settled on the side of goggles worn and, in doing so, the eyesight could be wide without obstacles. Therefore, the optical guiding interconnection is an essential issue for the eyeball- tracking device. Since the fine line gratings are necessary for the optical coupler, the electron beam writing is used to meet the requirement. The gratings with 40 nm line width are achieved, and it is sufficient for optical coupling. On the other hand, the electrical signal related eyeball position is simulated. We could translate the electrical signal readout into the coordinate of the eyeball position. The whole eyeball-tracking device would be small volume, less weight, and portable.