In this study, we present the detection of the up- and downward as well as the right- and leftward motion of cursor based on feature extraction. Feature Extraction and selection for finding the proper classifier among the data mining methods are of great importance. In the proposed method, the hybrid K-means clustering algorithm and the linear support vector machine (LSVM) classifier have been used for extracting the important features and detecting the cursor motion. In this algorithm, the K-means clustering method is used to recognize the available hidden patterns in each of the four modes (up, down, left, and right). The identification of these patterns can raise the accuracy of classification. The membership degree of each feature vector in the proposed new patterns is considered as a new feature vector corresponding to the previous feature vector and then, the cursor motion is detected using the linear SVM classifier. The database of the Karadeniz Technical University of Turkey has been used in the present article. Applying the proposed method for data based on the hold-up cross validation causes the accuracy of the classifier in the up- and downward and left- and rightward movements in each person to increase by 2–10%.