Lines Matching refs:fSettings
41 fSettings = *originalSettings; in MouseSettings()
63 printf("type:\t\t%" B_PRId32 " button mouse\n", fSettings.type); in Dump()
66 fSettings.map.button[0], fSettings.map.button[2], in Dump()
67 fSettings.map.button[1]); in Dump()
68 printf("click speed:\t%" B_PRId64 "\n", fSettings.click_speed); in Dump()
69 printf("accel:\t\t%s\n", fSettings.accel.enabled in Dump()
71 printf("accel factor:\t%" B_PRId32 "\n", fSettings.accel.accel_factor); in Dump()
72 printf("speed:\t\t%" B_PRId32 "\n", fSettings.accel.speed); in Dump()
122 fSettings.map.button[i] = B_MOUSE_BUTTON(i + 1); in Defaults()
132 fSettings.type = type; in SetMouseType()
139 return fSettings.click_speed; in ClickSpeed()
146 fSettings.click_speed = clickSpeed; in SetClickSpeed()
153 fSettings.accel.speed = speed; in SetMouseSpeed()
160 fSettings.accel.accel_factor = factor; in SetAccelerationFactor()
170 return fSettings.map.button[index]; in Mapping()
177 map = fSettings.map; in Mapping()
187 fSettings.map.button[index] = button; in SetMapping()
195 fSettings.map = map; in SetMapping()
206 if (fSettings.map.button[i] == 0) in _AssureValidMapping()
207 fSettings.map.button[i] = B_MOUSE_BUTTON(i + 1); in _AssureValidMapping()
208 hasPrimary |= fSettings.map.button[i] & B_MOUSE_BUTTON(1); in _AssureValidMapping()
212 fSettings.map.button[0] = B_MOUSE_BUTTON(1); in _AssureValidMapping()