While students use the mouse we are collecting data from six different points all over the mouse. This points on the front and rear part of the mouse, reveal information about the pressure that the user is putting on the mouse. This data could be correlated with the emotional arousal of the students.
Hardware

A regular mouse was altered adding to it 6 pressure sensors. This sensors are distributed three in the front part of the mouse and three in the rear part of the mouse, distributed at the right, middle and left. The signal for each pressure sensor is collected.
Software

In order to use this hardware and get the information from it, our team developed a console application for Windows written in Java.

It is important to mention that this same application works for four different hardware: Skin Conductance Sensor, Posture Chair Sensor, Pressure Mouse Sensor and Pressure Guitar Sensor.
Installation
  1. Download the application.
  2. Unzip the file, and copy all the files into a new folder called "sensors".
  3. And you are done!
Using the system
  1. Before using the application, you need to physically connect all sensors to the computer, and find out in which port (COMM) it is connected.
  2. Open a Command window.
  3. Change to the "sensors" folder.
  4. Type CommonSensorsJ2E <output_file_name>. Where output_file_name is the name of the file where all data will be stored. This file will be stored on the "sensors" folder.
  5. The application prompt you to specify in which port is connected each sensor. In this case we need to find the port where the mouse is connected. When it shows up in the screen type "mouse", if there is listed a port where none sensor is connected just type "none".
  6. To stop recording data just press Ctrl + C.
  7. The output file will be in the same folder as the application is.
Description of the output file

The output file could be opened as CSV file, so it can be readed as plain text file or using some spreadsheet application such as Excel. If you run the programm just with the mouse your file will have the following fields:

Field Description Values
Timestamp It is the timestamp (date and time) of the computer running the system. It could be used to synchronize the data with other inputs. The value is a combination of the date and time on the computer, with the following format "yymmddhhmmssSSS" (y - year, m - month, d - day, h - hour, m - minutes, s - seconds, S - milliseconds).
colum1 - rightRear The value of the sensor positioned in the right rear of the mouse. The value of the sensor varies from 0 to 1024. Being 0 the highest pressure.
column2 - rightFront The value of the sensor positioned in the right front of the mouse. The value of the sensor varies from 0 to 1024. Being 0 the highest pressure.
column3 - leftRear The value of the sensor positioned in the left rear of the mouse. The value of the sensor varies from 0 to 1024. Being 0 the highest pressure.
column4 - leftFront The value of the sensor positioned in the left front of the mouse. The value of the sensor varies from 0 to 1024. Being 0 the highest pressure.
column5 This column is not used by this sensor.
column6 This column is not used by this sensor.
column7 - middleRear The value of the sensor positioned in the middle rear of the mouse. The value of the sensor varies from 0 to 1024. Being 0 the highest pressure.
column8 - middleFront The value of the sensor positioned in the middle front of the mouse. The value of the sensor varies from 0 to 1024. Being 0 the highest pressure.
Details about time rates
The information generated for these sensors is about one value every 156 millisec, in other words 6 values per second.
References