mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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
|
||||
GamLine,
|
||||
/// receive rawkeys from gam
|
||||
GamRawKeys,
|
||||
GamRawkeys,
|
||||
/// redraw our UI
|
||||
GamRedraw,
|
||||
ListenSet,
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ pub fn server(
|
|||
ui.input = Some(s);
|
||||
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(opcode) = opcode_rawkeys {
|
||||
msg.forward(cid, opcode)
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ impl Ui {
|
|||
redraw_id: ChatOp::GamRedraw as u32,
|
||||
gotinput_id: Some(ChatOp::GamLine as u32),
|
||||
audioframe_id: None,
|
||||
rawkeys_id: Some(ChatOp::GamRawKeys as u32),
|
||||
rawkeys_id: Some(ChatOp::GamRawkeys as u32),
|
||||
focuschange_id: Some(ChatOp::GamChangeFocus as u32),
|
||||
})
|
||||
.expect("couldn't register Ux context for chat");
|
||||
|
|
|
|||
Loading…
Reference in a new issue