Use the new scheme format in most places
The graphics subsystem still uses the old format as orbital manually parses the fpath result.
This commit is contained in:
@@ -35,7 +35,7 @@ fn main() {
|
||||
|
||||
let mut scheme = BgaScheme {
|
||||
bga,
|
||||
display: File::open("input:producer").ok(),
|
||||
display: File::open("/scheme/input/producer").ok(),
|
||||
};
|
||||
|
||||
scheme.update_size();
|
||||
|
||||
@@ -56,7 +56,7 @@ impl Display {
|
||||
let input_handle = OpenOptions::new()
|
||||
.read(true)
|
||||
.custom_flags(O_NONBLOCK as i32)
|
||||
.open(format!("input:consumer/{vt}"))?;
|
||||
.open(format!("/scheme/input/consumer/{vt}"))?;
|
||||
let fd = input_handle.as_raw_fd();
|
||||
|
||||
let written = libredox::call::fpath(fd as usize, &mut buffer)
|
||||
|
||||
@@ -41,7 +41,7 @@ fn inner(daemon: redox_daemon::Daemon, vt_ids: &[usize]) -> ! {
|
||||
.create(true)
|
||||
.truncate(true)
|
||||
.custom_flags(O_NONBLOCK as i32)
|
||||
.open(":fbcon")
|
||||
.open("/scheme/fbcon")
|
||||
.expect("fbcond: failed to create fbcon scheme");
|
||||
event_queue
|
||||
.subscribe(
|
||||
|
||||
Reference in New Issue
Block a user