pcjs/docs/pcjs/mouse
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2014-09-27 14:52:57 -07:00
..
README.md Initial commit (a clone of the jsmachines project as of v1.15.3) 2014-09-27 14:52:57 -07:00

<mouse>

PCjs Mouse XML Specification

Format

<mouse>...</mouse>

Purpose

Creates an instance of the Mouse component, which simulates the original Microsoft Serial Mouse.

Attributes

  • serial (required)

    Specifies the id of the Serial component that the mouse must be connected to.

As support for more types of mouse hardware are added, new attributes will be added. Also supports the attributes of Component.

Bindings

None.

Example

<mouse serial="com1"/>

Output

<div id="..." class="pc-mouse pc-component">
	<div class="pc-container">
		<div class="pcjs-mouse" data-value="id:'...',name:'...',serial:'...'></div>
	</div>
</div>

[Return to PCjs Documentation]