mouse
FreeBodyEngine.core.dummy.mouse
#
DummyMouse()
#
No-op stand-in for Mouse (core/mouse.py), used by headless windows where there's no real cursor to track. Every query reports "nothing pressed/dragging" instead of reading any backend state.
Sets up the same attributes as Mouse, all at their default/empty values.
drag_start = Vector()
instance-attribute
#
position = Vector()
instance-attribute
#
world_position = Vector()
instance-attribute
#
get_double_click(button)
#
Always returns False - there is no real mouse to be double-clicked.
get_down(button)
#
Always returns False - there is no real mouse to be held down.
get_drag_offset(button, world=False)
#
Always returns a zero Vector - there is no real drag to measure.
get_drag_start(button, world=False)
#
Always returns a zero Vector - there is no real drag to have started.
get_dragging(button)
#
Always returns False - there is no real mouse to be dragging.
get_pressed(button)
#
Always returns False - there is no real mouse to be pressed.
get_released(button)
#
Always returns False - there is no real mouse to be released.
hide_cursor()
#
No-op - there is no real cursor to hide.
set_cursor(shape='default')
#
No-op - there is no real cursor to set.
update()
#
No-op - there is no real mouse state to poll.