mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
rename ChatOp::Rawkeys
This commit is contained in:
parent
9451ea90d0
commit
34334cb80a
3 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ pub enum ChatOp {
|
||||||
/// a line of text has arrived
|
/// a line of text has arrived
|
||||||
GamLine,
|
GamLine,
|
||||||
/// receive rawkeys from gam
|
/// receive rawkeys from gam
|
||||||
GamRawKeys,
|
GamRawkeys,
|
||||||
/// redraw our UI
|
/// redraw our UI
|
||||||
GamRedraw,
|
GamRedraw,
|
||||||
ListenSet,
|
ListenSet,
|
||||||
|
|
|
||||||
|
|
@ -186,7 +186,7 @@ pub fn server(
|
||||||
ui.input = Some(s);
|
ui.input = Some(s);
|
||||||
user_post = true; // set a flag, instead of calling here, so message can drop and calling server is released
|
user_post = true; // set a flag, instead of calling here, so message can drop and calling server is released
|
||||||
}
|
}
|
||||||
Some(ChatOp::GamRawKeys) => {
|
Some(ChatOp::GamRawkeys) => {
|
||||||
if let Some(cid) = app_cid {
|
if let Some(cid) = app_cid {
|
||||||
if let Some(opcode) = opcode_rawkeys {
|
if let Some(opcode) = opcode_rawkeys {
|
||||||
msg.forward(cid, opcode)
|
msg.forward(cid, opcode)
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ impl Ui {
|
||||||
redraw_id: ChatOp::GamRedraw as u32,
|
redraw_id: ChatOp::GamRedraw as u32,
|
||||||
gotinput_id: Some(ChatOp::GamLine as u32),
|
gotinput_id: Some(ChatOp::GamLine as u32),
|
||||||
audioframe_id: None,
|
audioframe_id: None,
|
||||||
rawkeys_id: Some(ChatOp::GamRawKeys as u32),
|
rawkeys_id: Some(ChatOp::GamRawkeys as u32),
|
||||||
focuschange_id: Some(ChatOp::GamChangeFocus as u32),
|
focuschange_id: Some(ChatOp::GamChangeFocus as u32),
|
||||||
})
|
})
|
||||||
.expect("couldn't register Ux context for chat");
|
.expect("couldn't register Ux context for chat");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue