Lines Matching refs:fSettings
28 fOriginalSettings = fSettings; in MouseSettings()
44 if (get_mouse_map(fName, &fSettings.map) != B_OK) in _RetrieveSettings()
46 if (get_click_speed(fName, &fSettings.click_speed) != B_OK) in _RetrieveSettings()
48 if (get_mouse_speed(fName, &fSettings.accel.speed) != B_OK) in _RetrieveSettings()
50 if (get_mouse_acceleration(fName, &fSettings.accel.accel_factor) != B_OK) in _RetrieveSettings()
52 if (get_mouse_type(fName, &fSettings.type) != B_OK) in _RetrieveSettings()
86 return fSettings.click_speed != kDefaultClickSpeed in IsDefaultable()
87 || fSettings.accel.speed != kDefaultMouseSpeed in IsDefaultable()
88 || fSettings.type != kDefaultMouseType in IsDefaultable()
89 || fSettings.accel.accel_factor != kDefaultAccelerationFactor in IsDefaultable()
93 || fSettings.map.button[0] != B_PRIMARY_MOUSE_BUTTON in IsDefaultable()
94 || fSettings.map.button[1] != B_SECONDARY_MOUSE_BUTTON in IsDefaultable()
95 || fSettings.map.button[2] != B_TERTIARY_MOUSE_BUTTON in IsDefaultable()
96 || fSettings.map.button[3] != B_MOUSE_BUTTON(4) in IsDefaultable()
97 || fSettings.map.button[4] != B_MOUSE_BUTTON(5) in IsDefaultable()
98 || fSettings.map.button[5] != B_MOUSE_BUTTON(6); in IsDefaultable()
122 return fSettings.click_speed != fOriginalSettings.click_speed in IsRevertable()
123 || fSettings.accel.speed != fOriginalSettings.accel.speed in IsRevertable()
124 || fSettings.type != fOriginalSettings.type in IsRevertable()
125 || fSettings.accel.accel_factor != fOriginalSettings.accel.accel_factor in IsRevertable()
129 || fSettings.map.button[0] != fOriginalSettings.map.button[0] in IsRevertable()
130 || fSettings.map.button[1] != fOriginalSettings.map.button[1] in IsRevertable()
131 || fSettings.map.button[2] != fOriginalSettings.map.button[2] in IsRevertable()
132 || fSettings.map.button[3] != fOriginalSettings.map.button[3] in IsRevertable()
133 || fSettings.map.button[4] != fOriginalSettings.map.button[4] in IsRevertable()
134 || fSettings.map.button[5] != fOriginalSettings.map.button[5]; in IsRevertable()
142 fSettings.type = type; in SetMouseType()
149 return fSettings.click_speed; in ClickSpeed()
157 fSettings.click_speed = clickSpeed; in SetClickSpeed()
165 fSettings.accel.speed = speed; in SetMouseSpeed()
173 fSettings.accel.accel_factor = factor; in SetAccelerationFactor()
180 return fSettings.map.button[index]; in Mapping()
187 map = fSettings.map; in Mapping()
194 fSettings.map.button[index] = button; in SetMapping()
195 set_mouse_map(fName, &fSettings.map); in SetMapping()
203 fSettings.map = map; in SetMapping()
234 return &fSettings; in GetSettings()