Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
factored out constants into lib/constants.js
- Loading branch information
James Halliday
committed
Apr 28, 2011
1 parent
791cd1b
commit 58491ba
Showing
4 changed files
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
exports.clientMsgTypes = { | ||
setPixelFormat : 0, | ||
setEncodings : 2, | ||
fbUpdate : 3, | ||
keyEvent : 4, | ||
pointerEvent : 5, | ||
cutText : 6, | ||
}; | ||
|
||
exports.serverMsgTypes = { | ||
fbUpdate : 0, | ||
setColorMap : 1, | ||
bell: 2, | ||
cutText: 3, | ||
}; | ||
|
||
exports.encodings = { | ||
raw : 0, | ||
copyRect : 1, | ||
rre : 2, | ||
hextile : 5, | ||
zrle : 16, | ||
pseudoCursor : -239, | ||
pseudoDesktopSize : -223, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters