mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
hidv2: use platform-neutral ux-api instead of graphics-server
This commit is contained in:
parent
62e489f583
commit
8c29f008ab
2 changed files with 5 additions and 3 deletions
|
|
@ -12,7 +12,8 @@ xous-ipc = "0.10.4"
|
||||||
log-server = { package = "xous-api-log", version = "0.1.63" }
|
log-server = { package = "xous-api-log", version = "0.1.63" }
|
||||||
xous-names = { package = "xous-api-names", version = "0.9.65" }
|
xous-names = { package = "xous-api-names", version = "0.9.65" }
|
||||||
gam = { path = "../../services/gam" }
|
gam = { path = "../../services/gam" }
|
||||||
graphics-server = { path = "../../services/graphics-server" }
|
ux-api = { path = "../../libs/ux-api" }
|
||||||
|
blitstr2 = { path = "../../libs/blitstr2" }
|
||||||
locales = { path = "../../locales" }
|
locales = { path = "../../locales" }
|
||||||
tts-frontend = { path = "../../services/tts" }
|
tts-frontend = { path = "../../services/tts" }
|
||||||
usb-device-xous = { path = "../../services/usb-device-xous" }
|
usb-device-xous = { path = "../../services/usb-device-xous" }
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,11 @@
|
||||||
use core::fmt::Write;
|
use core::fmt::Write;
|
||||||
use std::sync::mpsc::{self, Receiver, Sender};
|
use std::sync::mpsc::{self, Receiver, Sender};
|
||||||
|
|
||||||
use graphics_server::api::GlyphStyle;
|
use blitstr2::GlyphStyle;
|
||||||
use graphics_server::{DrawStyle, Gid, PixelColor, Point, Rectangle, TextBounds, TextView};
|
|
||||||
use num_traits::*;
|
use num_traits::*;
|
||||||
use usb_device_xous::UsbHid;
|
use usb_device_xous::UsbHid;
|
||||||
|
use ux_api::minigfx::*;
|
||||||
|
use ux_api::service::api::*;
|
||||||
|
|
||||||
pub(crate) const SERVER_NAME_HIDV2: &str = "_HIDv2_";
|
pub(crate) const SERVER_NAME_HIDV2: &str = "_HIDv2_";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue